| 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 760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 771 } else if (wasResized) { | 771 } else if (wasResized) { |
| 772 document->evaluateMediaQueryList(); | 772 document->evaluateMediaQueryList(); |
| 773 } | 773 } |
| 774 | 774 |
| 775 document->updateLayoutTreeIfNeeded(); | 775 document->updateLayoutTreeIfNeeded(); |
| 776 lifecycle().advanceTo(DocumentLifecycle::StyleClean); | 776 lifecycle().advanceTo(DocumentLifecycle::StyleClean); |
| 777 | 777 |
| 778 if (m_frame->isMainFrame() && !m_viewportScrollableArea) { | 778 if (m_frame->isMainFrame() && !m_viewportScrollableArea) { |
| 779 ScrollableArea& visualViewport = m_frame->host()->visualViewport(); | 779 ScrollableArea& visualViewport = m_frame->host()->visualViewport(); |
| 780 ScrollableArea* layoutViewport = layoutViewportScrollableArea(); | 780 ScrollableArea* layoutViewport = layoutViewportScrollableArea(); |
| 781 bool invertScrollOrder = m_frame->settings()->invertViewportScrollOrder(
); |
| 781 ASSERT(layoutViewport); | 782 ASSERT(layoutViewport); |
| 782 m_viewportScrollableArea = RootFrameViewport::create(visualViewport, *la
youtViewport); | 783 m_viewportScrollableArea = RootFrameViewport::create(visualViewport, *la
youtViewport, invertScrollOrder); |
| 783 } | 784 } |
| 784 } | 785 } |
| 785 | 786 |
| 786 static inline void layoutFromRootObject(LayoutObject& root) | 787 static inline void layoutFromRootObject(LayoutObject& root) |
| 787 { | 788 { |
| 788 LayoutState layoutState(root); | 789 LayoutState layoutState(root); |
| 789 root.layout(); | 790 root.layout(); |
| 790 } | 791 } |
| 791 | 792 |
| 792 void FrameView::prepareLayoutAnalyzer() | 793 void FrameView::prepareLayoutAnalyzer() |
| (...skipping 3191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3984 return m_hiddenForThrottling && m_crossOriginForThrottling; | 3985 return m_hiddenForThrottling && m_crossOriginForThrottling; |
| 3985 } | 3986 } |
| 3986 | 3987 |
| 3987 LayoutBox& FrameView::boxForScrollControlPaintInvalidation() const | 3988 LayoutBox& FrameView::boxForScrollControlPaintInvalidation() const |
| 3988 { | 3989 { |
| 3989 ASSERT(layoutView()); | 3990 ASSERT(layoutView()); |
| 3990 return *layoutView(); | 3991 return *layoutView(); |
| 3991 } | 3992 } |
| 3992 | 3993 |
| 3993 } // namespace blink | 3994 } // namespace blink |
| OLD | NEW |