Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(427)

Side by Side Diff: Source/core/frame/FrameView.cpp

Issue 46163008: Revert "Re-land deferred compositing updates with fixed assumptions" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 2262 matching lines...) Expand 10 before | Expand all | Expand 10 after
2273 if (renderView) 2273 if (renderView)
2274 renderView->updateWidgetPositions(); 2274 renderView->updateWidgetPositions();
2275 2275
2276 for (unsigned i = 0; i < maxUpdateWidgetsIterations; i++) { 2276 for (unsigned i = 0; i < maxUpdateWidgetsIterations; i++) {
2277 if (updateWidgets()) 2277 if (updateWidgets())
2278 break; 2278 break;
2279 } 2279 }
2280 2280
2281 if (Page* page = m_frame->page()) { 2281 if (Page* page = m_frame->page()) {
2282 if (ScrollingCoordinator* scrollingCoordinator = page->scrollingCoordina tor()) 2282 if (ScrollingCoordinator* scrollingCoordinator = page->scrollingCoordina tor())
2283 scrollingCoordinator->notifyLayoutUpdated(); 2283 scrollingCoordinator->frameViewLayoutUpdated(this);
2284 } 2284 }
2285 2285
2286 scrollToAnchor(); 2286 scrollToAnchor();
2287 2287
2288 resumeOverflowEvents(); 2288 resumeOverflowEvents();
2289 2289
2290 sendResizeEventIfNeeded(); 2290 sendResizeEventIfNeeded();
2291 } 2291 }
2292 2292
2293 void FrameView::sendResizeEventIfNeeded() 2293 void FrameView::sendResizeEventIfNeeded()
(...skipping 1170 matching lines...) Expand 10 before | Expand all | Expand 10 after
3464 void FrameView::setLayoutSizeInternal(const IntSize& size) 3464 void FrameView::setLayoutSizeInternal(const IntSize& size)
3465 { 3465 {
3466 if (m_layoutSize == size) 3466 if (m_layoutSize == size)
3467 return; 3467 return;
3468 3468
3469 m_layoutSize = size; 3469 m_layoutSize = size;
3470 contentsResized(); 3470 contentsResized();
3471 } 3471 }
3472 3472
3473 } // namespace WebCore 3473 } // namespace WebCore
OLDNEW
« no previous file with comments | « LayoutTests/inspector-protocol/layers/get-layers-expected.txt ('k') | Source/core/inspector/InspectorLayerTreeAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698