| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> | 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> |
| 3 * 1999 Lars Knoll <knoll@kde.org> | 3 * 1999 Lars Knoll <knoll@kde.org> |
| 4 * 1999 Antti Koivisto <koivisto@kde.org> | 4 * 1999 Antti Koivisto <koivisto@kde.org> |
| 5 * 2000 Dirk Mueller <mueller@kde.org> | 5 * 2000 Dirk Mueller <mueller@kde.org> |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
| 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
| 9 * Copyright (C) 2009 Google Inc. All rights reserved. | 9 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 10 * | 10 * |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 void FrameView::recalcOverflowAfterStyleChange() | 180 void FrameView::recalcOverflowAfterStyleChange() |
| 181 { | 181 { |
| 182 RenderView* renderView = this->renderView(); | 182 RenderView* renderView = this->renderView(); |
| 183 RELEASE_ASSERT(renderView); | 183 RELEASE_ASSERT(renderView); |
| 184 if (!renderView->needsOverflowRecalcAfterStyleChange()) | 184 if (!renderView->needsOverflowRecalcAfterStyleChange()) |
| 185 return; | 185 return; |
| 186 | 186 |
| 187 renderView->recalcOverflowAfterStyleChange(); | 187 renderView->recalcOverflowAfterStyleChange(); |
| 188 } | 188 } |
| 189 | 189 |
| 190 bool FrameView::scheduleAnimation() | |
| 191 { | |
| 192 if (HostWindow* window = hostWindow()) { | |
| 193 window->scheduleAnimation(); | |
| 194 return true; | |
| 195 } | |
| 196 return false; | |
| 197 } | |
| 198 | |
| 199 bool FrameView::isEnclosedInCompositingLayer() const | 190 bool FrameView::isEnclosedInCompositingLayer() const |
| 200 { | 191 { |
| 201 return false; | 192 return false; |
| 202 } | 193 } |
| 203 | 194 |
| 204 RenderObject* FrameView::layoutRoot(bool onlyDuringLayout) const | 195 RenderObject* FrameView::layoutRoot(bool onlyDuringLayout) const |
| 205 { | 196 { |
| 206 return onlyDuringLayout && layoutPending() ? 0 : m_layoutSubtreeRoot; | 197 return onlyDuringLayout && layoutPending() ? 0 : m_layoutSubtreeRoot; |
| 207 } | 198 } |
| 208 | 199 |
| (...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 889 totalObjects = 0; | 880 totalObjects = 0; |
| 890 | 881 |
| 891 for (RenderObject* o = root; o; o = o->nextInPreOrder(root)) { | 882 for (RenderObject* o = root; o; o = o->nextInPreOrder(root)) { |
| 892 ++totalObjects; | 883 ++totalObjects; |
| 893 if (o->needsLayout()) | 884 if (o->needsLayout()) |
| 894 ++needsLayoutObjects; | 885 ++needsLayoutObjects; |
| 895 } | 886 } |
| 896 } | 887 } |
| 897 | 888 |
| 898 } // namespace blink | 889 } // namespace blink |
| OLD | NEW |