| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2006 Apple Computer, Inc. | 3 * Copyright (C) 2006 Apple Computer, Inc. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 | 215 |
| 216 void pushLayoutState(LayoutState& layoutState) { | 216 void pushLayoutState(LayoutState& layoutState) { |
| 217 m_layoutState = &layoutState; | 217 m_layoutState = &layoutState; |
| 218 } | 218 } |
| 219 void popLayoutState() { | 219 void popLayoutState() { |
| 220 ASSERT(m_layoutState); | 220 ASSERT(m_layoutState); |
| 221 m_layoutState = m_layoutState->next(); | 221 m_layoutState = m_layoutState->next(); |
| 222 } | 222 } |
| 223 | 223 |
| 224 LayoutRect visualOverflowRect() const override; | 224 LayoutRect visualOverflowRect() const override; |
| 225 LayoutRect localOverflowRectForPaintInvalidation() const override; | 225 LayoutRect localVisualRect() const override; |
| 226 | 226 |
| 227 // Invalidates paint for the entire view, including composited descendants, | 227 // Invalidates paint for the entire view, including composited descendants, |
| 228 // but not including child frames. | 228 // but not including child frames. |
| 229 // It is very likely you do not want to call this method. | 229 // It is very likely you do not want to call this method. |
| 230 void setShouldDoFullPaintInvalidationForViewAndAllDescendants(); | 230 void setShouldDoFullPaintInvalidationForViewAndAllDescendants(); |
| 231 | 231 |
| 232 // The document scrollbar is always on the right, even in RTL. This is to | 232 // The document scrollbar is always on the right, even in RTL. This is to |
| 233 // prevent it from moving around on navigations. | 233 // prevent it from moving around on navigations. |
| 234 // TODO(skobes): This is not quite the ideal behavior, see | 234 // TODO(skobes): This is not quite the ideal behavior, see |
| 235 // http://crbug.com/250514 and http://crbug.com/249860. | 235 // http://crbug.com/250514 and http://crbug.com/249860. |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 Persistent<HitTestCache> m_hitTestCache; | 328 Persistent<HitTestCache> m_hitTestCache; |
| 329 | 329 |
| 330 Vector<LayoutMedia*> m_mediaForPositionNotification; | 330 Vector<LayoutMedia*> m_mediaForPositionNotification; |
| 331 }; | 331 }; |
| 332 | 332 |
| 333 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); | 333 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutView, isLayoutView()); |
| 334 | 334 |
| 335 } // namespace blink | 335 } // namespace blink |
| 336 | 336 |
| 337 #endif // LayoutView_h | 337 #endif // LayoutView_h |
| OLD | NEW |