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

Side by Side Diff: third_party/WebKit/Source/web/tests/sim/SimCompositor.cpp

Issue 2805733003: Rewrite references to "wtf/" to "platform/wtf/" in web. (Closed)
Patch Set: Created 3 years, 8 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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "web/tests/sim/SimCompositor.h" 5 #include "web/tests/sim/SimCompositor.h"
6 6
7 #include "core/frame/FrameView.h" 7 #include "core/frame/FrameView.h"
8 #include "core/layout/api/LayoutViewItem.h" 8 #include "core/layout/api/LayoutViewItem.h"
9 #include "core/layout/compositing/CompositedLayerMapping.h" 9 #include "core/layout/compositing/CompositedLayerMapping.h"
10 #include "core/layout/compositing/PaintLayerCompositor.h" 10 #include "core/layout/compositing/PaintLayerCompositor.h"
11 #include "core/paint/PaintLayer.h" 11 #include "core/paint/PaintLayer.h"
12 #include "platform/graphics/ContentLayerDelegate.h" 12 #include "platform/graphics/ContentLayerDelegate.h"
13 #include "platform/graphics/GraphicsLayer.h" 13 #include "platform/graphics/GraphicsLayer.h"
14 #include "platform/wtf/CurrentTime.h"
14 #include "public/platform/WebRect.h" 15 #include "public/platform/WebRect.h"
15 #include "web/WebLocalFrameImpl.h" 16 #include "web/WebLocalFrameImpl.h"
16 #include "web/WebViewImpl.h" 17 #include "web/WebViewImpl.h"
17 #include "web/tests/sim/SimDisplayItemList.h" 18 #include "web/tests/sim/SimDisplayItemList.h"
18 #include "wtf/CurrentTime.h"
19 19
20 namespace blink { 20 namespace blink {
21 21
22 static void paintLayers(GraphicsLayer& layer, SimDisplayItemList& displayList) { 22 static void paintLayers(GraphicsLayer& layer, SimDisplayItemList& displayList) {
23 if (layer.drawsContent() && layer.hasTrackedRasterInvalidations()) { 23 if (layer.drawsContent() && layer.hasTrackedRasterInvalidations()) {
24 ContentLayerDelegate* delegate = layer.contentLayerDelegateForTesting(); 24 ContentLayerDelegate* delegate = layer.contentLayerDelegateForTesting();
25 delegate->paintContents(&displayList); 25 delegate->paintContents(&displayList);
26 layer.resetTrackedRasterInvalidations(); 26 layer.resetTrackedRasterInvalidations();
27 } 27 }
28 28
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 89
90 LocalFrame* root = m_webViewImpl->mainFrameImpl()->frame(); 90 LocalFrame* root = m_webViewImpl->mainFrameImpl()->frame();
91 91
92 SimDisplayItemList displayList; 92 SimDisplayItemList displayList;
93 paintFrames(*root, displayList); 93 paintFrames(*root, displayList);
94 94
95 return displayList; 95 return displayList;
96 } 96 }
97 97
98 } // namespace blink 98 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/tests/sim/SimCanvas.h ('k') | third_party/WebKit/Source/web/tests/sim/SimDisplayItemList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698