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