| 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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 // PaintInvalidationState::paintingLayer() instead. | 267 // PaintInvalidationState::paintingLayer() instead. |
| 268 PaintLayer* paintingLayer() const; | 268 PaintLayer* paintingLayer() const; |
| 269 | 269 |
| 270 // Scrolling is a LayoutBox concept, however some code just cares about | 270 // Scrolling is a LayoutBox concept, however some code just cares about |
| 271 // recursively scrolling our enclosing ScrollableArea(s). | 271 // recursively scrolling our enclosing ScrollableArea(s). |
| 272 bool scrollRectToVisible( | 272 bool scrollRectToVisible( |
| 273 const LayoutRect&, | 273 const LayoutRect&, |
| 274 const ScrollAlignment& alignX = ScrollAlignment::alignCenterIfNeeded, | 274 const ScrollAlignment& alignX = ScrollAlignment::alignCenterIfNeeded, |
| 275 const ScrollAlignment& alignY = ScrollAlignment::alignCenterIfNeeded, | 275 const ScrollAlignment& alignY = ScrollAlignment::alignCenterIfNeeded, |
| 276 ScrollType = ProgrammaticScroll, | 276 ScrollType = ProgrammaticScroll, |
| 277 bool makeVisibleInVisualViewport = true); | 277 bool makeVisibleInVisualViewport = true, |
| 278 ScrollBehavior = ScrollBehaviorAuto); |
| 278 | 279 |
| 279 // Convenience function for getting to the nearest enclosing box of a | 280 // Convenience function for getting to the nearest enclosing box of a |
| 280 // LayoutObject. | 281 // LayoutObject. |
| 281 LayoutBox* enclosingBox() const; | 282 LayoutBox* enclosingBox() const; |
| 282 LayoutBoxModelObject* enclosingBoxModelObject() const; | 283 LayoutBoxModelObject* enclosingBoxModelObject() const; |
| 283 | 284 |
| 284 LayoutBox* enclosingScrollableBox() const; | 285 LayoutBox* enclosingScrollableBox() const; |
| 285 | 286 |
| 286 // Function to return our enclosing flow thread if we are contained inside | 287 // Function to return our enclosing flow thread if we are contained inside |
| 287 // one. This function follows the containing block chain. | 288 // one. This function follows the containing block chain. |
| (...skipping 2486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2774 CORE_EXPORT void showLineTree(const blink::LayoutObject*); | 2775 CORE_EXPORT void showLineTree(const blink::LayoutObject*); |
| 2775 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); | 2776 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1); |
| 2776 // We don't make object2 an optional parameter so that showLayoutTree | 2777 // We don't make object2 an optional parameter so that showLayoutTree |
| 2777 // can be called from gdb easily. | 2778 // can be called from gdb easily. |
| 2778 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, | 2779 CORE_EXPORT void showLayoutTree(const blink::LayoutObject* object1, |
| 2779 const blink::LayoutObject* object2); | 2780 const blink::LayoutObject* object2); |
| 2780 | 2781 |
| 2781 #endif | 2782 #endif |
| 2782 | 2783 |
| 2783 #endif // LayoutObject_h | 2784 #endif // LayoutObject_h |
| OLD | NEW |