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 2087 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2098 if (m_isVisuallyNonEmpty && !m_frame->document()->didLayoutWithPendingSt
ylesheets() && m_firstVisuallyNonEmptyLayoutCallbackPending) { | 2098 if (m_isVisuallyNonEmpty && !m_frame->document()->didLayoutWithPendingSt
ylesheets() && m_firstVisuallyNonEmptyLayoutCallbackPending) { |
2099 m_firstVisuallyNonEmptyLayoutCallbackPending = false; | 2099 m_firstVisuallyNonEmptyLayoutCallbackPending = false; |
2100 // FIXME: This callback is probably not needed, but is currently use
d | 2100 // FIXME: This callback is probably not needed, but is currently use
d |
2101 // by android for setting the background color. | 2101 // by android for setting the background color. |
2102 m_frame->loader().client()->dispatchDidFirstVisuallyNonEmptyLayout()
; | 2102 m_frame->loader().client()->dispatchDidFirstVisuallyNonEmptyLayout()
; |
2103 } | 2103 } |
2104 } | 2104 } |
2105 | 2105 |
2106 FontFaceSet::didLayout(*m_frame->document()); | 2106 FontFaceSet::didLayout(*m_frame->document()); |
2107 | 2107 |
| 2108 frame().eventHandler().scheduleCursorUpdate(); |
| 2109 |
2108 updateWidgetPositions(); | 2110 updateWidgetPositions(); |
2109 | 2111 |
2110 // Plugins could have torn down the page inside updateWidgetPositions(). | 2112 // Plugins could have torn down the page inside updateWidgetPositions(). |
2111 if (!renderView()) | 2113 if (!renderView()) |
2112 return; | 2114 return; |
2113 | 2115 |
2114 scheduleUpdateWidgetsIfNecessary(); | 2116 scheduleUpdateWidgetsIfNecessary(); |
2115 | 2117 |
2116 if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator(
)) | 2118 if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator(
)) |
2117 scrollingCoordinator->notifyLayoutUpdated(); | 2119 scrollingCoordinator->notifyLayoutUpdated(); |
(...skipping 1914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4032 { | 4034 { |
4033 Settings* settings = frame().settings(); | 4035 Settings* settings = frame().settings(); |
4034 if (!settings || !settings->rootLayerScrolls()) | 4036 if (!settings || !settings->rootLayerScrolls()) |
4035 return this; | 4037 return this; |
4036 | 4038 |
4037 RenderView* renderView = this->renderView(); | 4039 RenderView* renderView = this->renderView(); |
4038 return renderView ? renderView->scrollableArea() : nullptr; | 4040 return renderView ? renderView->scrollableArea() : nullptr; |
4039 } | 4041 } |
4040 | 4042 |
4041 } // namespace blink | 4043 } // namespace blink |
OLD | NEW |