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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 // we should use the faster PaintInvalidatorContext::painting_layer instead. | 271 // we should use the faster PaintInvalidatorContext::painting_layer instead. |
272 PaintLayer* PaintingLayer() const; | 272 PaintLayer* PaintingLayer() const; |
273 | 273 |
274 // Scrolling is a LayoutBox concept, however some code just cares about | 274 // Scrolling is a LayoutBox concept, however some code just cares about |
275 // recursively scrolling our enclosing ScrollableArea(s). | 275 // recursively scrolling our enclosing ScrollableArea(s). |
276 bool ScrollRectToVisible( | 276 bool ScrollRectToVisible( |
277 const LayoutRect&, | 277 const LayoutRect&, |
278 const ScrollAlignment& align_x = ScrollAlignment::kAlignCenterIfNeeded, | 278 const ScrollAlignment& align_x = ScrollAlignment::kAlignCenterIfNeeded, |
279 const ScrollAlignment& align_y = ScrollAlignment::kAlignCenterIfNeeded, | 279 const ScrollAlignment& align_y = ScrollAlignment::kAlignCenterIfNeeded, |
280 ScrollType = kProgrammaticScroll, | 280 ScrollType = kProgrammaticScroll, |
281 bool make_visible_in_visual_viewport = true); | 281 bool make_visible_in_visual_viewport = true, |
| 282 ScrollBehavior = kScrollBehaviorAuto); |
282 | 283 |
283 // Convenience function for getting to the nearest enclosing box of a | 284 // Convenience function for getting to the nearest enclosing box of a |
284 // LayoutObject. | 285 // LayoutObject. |
285 LayoutBox* EnclosingBox() const; | 286 LayoutBox* EnclosingBox() const; |
286 LayoutBoxModelObject* EnclosingBoxModelObject() const; | 287 LayoutBoxModelObject* EnclosingBoxModelObject() const; |
287 | 288 |
288 LayoutBox* EnclosingScrollableBox() const; | 289 LayoutBox* EnclosingScrollableBox() const; |
289 | 290 |
290 // Function to return our enclosing flow thread if we are contained inside | 291 // Function to return our enclosing flow thread if we are contained inside |
291 // one. This function follows the containing block chain. | 292 // one. This function follows the containing block chain. |
(...skipping 2543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2835 CORE_EXPORT void showLineTree(const blink::LayoutObject*); | 2836 CORE_EXPORT void showLineTree(const blink::LayoutObject*); |
2836 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); | 2837 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); |
2837 // We don't make object2 an optional parameter so that showLayoutTree | 2838 // We don't make object2 an optional parameter so that showLayoutTree |
2838 // can be called from gdb easily. | 2839 // can be called from gdb easily. |
2839 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, | 2840 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, |
2840 const blink::LayoutObject* object2); | 2841 const blink::LayoutObject* object2); |
2841 | 2842 |
2842 #endif | 2843 #endif |
2843 | 2844 |
2844 #endif // LayoutObject_h | 2845 #endif // LayoutObject_h |
OLD | NEW |