| 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); | |
| 285 | 284 |
| 286 // Convenience function for getting to the nearest enclosing box of a | 285 // Convenience function for getting to the nearest enclosing box of a |
| 287 // LayoutObject. | 286 // LayoutObject. |
| 288 LayoutBox* EnclosingBox() const; | 287 LayoutBox* EnclosingBox() const; |
| 289 LayoutBoxModelObject* EnclosingBoxModelObject() const; | 288 LayoutBoxModelObject* EnclosingBoxModelObject() const; |
| 290 | 289 |
| 291 LayoutBox* EnclosingScrollableBox() const; | 290 LayoutBox* EnclosingScrollableBox() const; |
| 292 | 291 |
| 293 // Function to return our enclosing flow thread if we are contained inside | 292 // Function to return our enclosing flow thread if we are contained inside |
| 294 // one. This function follows the containing block chain. | 293 // one. This function follows the containing block chain. |
| (...skipping 2543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2838 CORE_EXPORT void showLineTree(const blink::LayoutObject*); | 2837 CORE_EXPORT void showLineTree(const blink::LayoutObject*); |
| 2839 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); | 2838 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); |
| 2840 // We don't make object2 an optional parameter so that showLayoutTree | 2839 // We don't make object2 an optional parameter so that showLayoutTree |
| 2841 // can be called from gdb easily. | 2840 // can be called from gdb easily. |
| 2842 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, | 2841 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, |
| 2843 const blink::LayoutObject* object2); | 2842 const blink::LayoutObject* object2); |
| 2844 | 2843 |
| 2845 #endif | 2844 #endif |
| 2846 | 2845 |
| 2847 #endif // LayoutObject_h | 2846 #endif // LayoutObject_h |
| OLD | NEW |