OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) | 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) |
6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. | 6 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2012 Apple Inc. |
7 * All rights reserved. | 7 * All rights reserved. |
8 * Copyright (C) 2009 Google Inc. All rights reserved. | 8 * Copyright (C) 2009 Google Inc. All rights reserved. |
9 * | 9 * |
10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 // we should use the faster PaintInvalidatorContext::painting_layer instead. | 273 // we should use the faster PaintInvalidatorContext::painting_layer instead. |
274 PaintLayer* PaintingLayer() const; | 274 PaintLayer* PaintingLayer() const; |
275 | 275 |
276 // Scrolling is a LayoutBox concept, however some code just cares about | 276 // Scrolling is a LayoutBox concept, however some code just cares about |
277 // recursively scrolling our enclosing ScrollableArea(s). | 277 // recursively scrolling our enclosing ScrollableArea(s). |
278 bool ScrollRectToVisible( | 278 bool ScrollRectToVisible( |
279 const LayoutRect&, | 279 const LayoutRect&, |
280 const ScrollAlignment& align_x = ScrollAlignment::kAlignCenterIfNeeded, | 280 const ScrollAlignment& align_x = ScrollAlignment::kAlignCenterIfNeeded, |
281 const ScrollAlignment& align_y = ScrollAlignment::kAlignCenterIfNeeded, | 281 const ScrollAlignment& align_y = ScrollAlignment::kAlignCenterIfNeeded, |
282 ScrollType = kProgrammaticScroll, | 282 ScrollType = kProgrammaticScroll, |
283 bool make_visible_in_visual_viewport = true); | 283 bool make_visible_in_visual_viewport = true, |
| 284 ScrollBehavior = kScrollBehaviorAuto); |
284 | 285 |
285 // Convenience function for getting to the nearest enclosing box of a | 286 // Convenience function for getting to the nearest enclosing box of a |
286 // LayoutObject. | 287 // LayoutObject. |
287 LayoutBox* EnclosingBox() const; | 288 LayoutBox* EnclosingBox() const; |
288 LayoutBoxModelObject* EnclosingBoxModelObject() const; | 289 LayoutBoxModelObject* EnclosingBoxModelObject() const; |
289 | 290 |
290 LayoutBox* EnclosingScrollableBox() const; | 291 LayoutBox* EnclosingScrollableBox() const; |
291 | 292 |
292 // Function to return our enclosing flow thread if we are contained inside | 293 // Function to return our enclosing flow thread if we are contained inside |
293 // one. This function follows the containing block chain. | 294 // one. This function follows the containing block chain. |
(...skipping 2549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2843 CORE_EXPORT void showLineTree(const blink::LayoutObject*); | 2844 CORE_EXPORT void showLineTree(const blink::LayoutObject*); |
2844 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); | 2845 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); |
2845 // We don't make object2 an optional parameter so that showLayoutTree | 2846 // We don't make object2 an optional parameter so that showLayoutTree |
2846 // can be called from gdb easily. | 2847 // can be called from gdb easily. |
2847 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, | 2848 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, |
2848 const blink::LayoutObject* object2); | 2849 const blink::LayoutObject* object2); |
2849 | 2850 |
2850 #endif | 2851 #endif |
2851 | 2852 |
2852 #endif // LayoutObject_h | 2853 #endif // LayoutObject_h |
OLD | NEW |