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

Side by Side Diff: third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp

Issue 2007343002: Remove unnecessary includes from Document.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CompositorWorker.cpp now needs LocalFrame.h Created 4 years, 6 months 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2011 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 14 matching lines...) Expand all
25 25
26 #include "core/page/scrolling/ScrollingCoordinator.h" 26 #include "core/page/scrolling/ScrollingCoordinator.h"
27 27
28 #include "core/dom/Document.h" 28 #include "core/dom/Document.h"
29 #include "core/dom/Fullscreen.h" 29 #include "core/dom/Fullscreen.h"
30 #include "core/dom/Node.h" 30 #include "core/dom/Node.h"
31 #include "core/frame/EventHandlerRegistry.h" 31 #include "core/frame/EventHandlerRegistry.h"
32 #include "core/frame/FrameView.h" 32 #include "core/frame/FrameView.h"
33 #include "core/frame/LocalFrame.h" 33 #include "core/frame/LocalFrame.h"
34 #include "core/frame/Settings.h" 34 #include "core/frame/Settings.h"
35 #include "core/frame/VisualViewport.h"
35 #include "core/html/HTMLElement.h" 36 #include "core/html/HTMLElement.h"
36 #include "core/layout/LayoutGeometryMap.h" 37 #include "core/layout/LayoutGeometryMap.h"
37 #include "core/layout/LayoutPart.h" 38 #include "core/layout/LayoutPart.h"
38 #include "core/layout/api/LayoutViewItem.h" 39 #include "core/layout/api/LayoutViewItem.h"
39 #include "core/layout/compositing/CompositedLayerMapping.h" 40 #include "core/layout/compositing/CompositedLayerMapping.h"
40 #include "core/layout/compositing/PaintLayerCompositor.h" 41 #include "core/layout/compositing/PaintLayerCompositor.h"
41 #include "core/page/ChromeClient.h" 42 #include "core/page/ChromeClient.h"
42 #include "core/page/Page.h" 43 #include "core/page/Page.h"
43 #include "core/plugins/PluginView.h" 44 #include "core/plugins/PluginView.h"
44 #include "platform/RuntimeEnabledFeatures.h" 45 #include "platform/RuntimeEnabledFeatures.h"
(...skipping 1020 matching lines...) Expand 10 before | Expand all | Expand 10 after
1065 bool frameIsScrollable = frameView && frameView->isScrollable(); 1066 bool frameIsScrollable = frameView && frameView->isScrollable();
1066 if (frameIsScrollable != m_wasFrameScrollable) 1067 if (frameIsScrollable != m_wasFrameScrollable)
1067 return true; 1068 return true;
1068 1069
1069 if (WebLayer* scrollLayer = frameView ? toWebLayer(frameView->layerForScroll ing()) : nullptr) 1070 if (WebLayer* scrollLayer = frameView ? toWebLayer(frameView->layerForScroll ing()) : nullptr)
1070 return WebSize(frameView->contentsSize()) != scrollLayer->bounds(); 1071 return WebSize(frameView->contentsSize()) != scrollLayer->bounds();
1071 return false; 1072 return false;
1072 } 1073 }
1073 1074
1074 } // namespace blink 1075 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698