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

Side by Side Diff: third_party/WebKit/public/platform/WebLayerTreeView.h

Issue 1895873006: compositor-worker: Initialize CW machinery plumbing to compositor and fire CW rAF callbacks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename to StubCompositorMutator. Created 4 years, 7 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 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google 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 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 26 matching lines...) Expand all
37 37
38 class SkBitmap; 38 class SkBitmap;
39 39
40 namespace cc { 40 namespace cc {
41 class AnimationTimeline; 41 class AnimationTimeline;
42 } 42 }
43 43
44 namespace blink { 44 namespace blink {
45 45
46 class WebCompositeAndReadbackAsyncCallback; 46 class WebCompositeAndReadbackAsyncCallback;
47 class WebCompositorMutatorClient;
47 class WebLayer; 48 class WebLayer;
48 class WebLayoutAndPaintAsyncCallback; 49 class WebLayoutAndPaintAsyncCallback;
49 struct WebPoint; 50 struct WebPoint;
50 struct WebSelectionBound; 51 struct WebSelectionBound;
51 class WebSelection; 52 class WebSelection;
52 class WebWidget; 53 class WebWidget;
53 54
54 class WebLayerTreeView { 55 class WebLayerTreeView {
55 public: 56 public:
56 virtual ~WebLayerTreeView() { } 57 virtual ~WebLayerTreeView() { }
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 virtual void setShowFPSCounter(bool) { } 158 virtual void setShowFPSCounter(bool) { }
158 159
159 // Toggles the paint rects in the HUD layer 160 // Toggles the paint rects in the HUD layer
160 virtual void setShowPaintRects(bool) { } 161 virtual void setShowPaintRects(bool) { }
161 162
162 // Toggles the debug borders on layers 163 // Toggles the debug borders on layers
163 virtual void setShowDebugBorders(bool) { } 164 virtual void setShowDebugBorders(bool) { }
164 165
165 // Toggles scroll bottleneck rects on the HUD layer 166 // Toggles scroll bottleneck rects on the HUD layer
166 virtual void setShowScrollBottleneckRects(bool) { } 167 virtual void setShowScrollBottleneckRects(bool) { }
168
169 // Mutations are plumbed back to the layer tree via the mutator client.
170 virtual void setMutatorClient(std::unique_ptr<WebCompositorMutatorClient>) { }
Rick Byers 2016/05/05 14:02:22 nit: this probably doesn't belong in this "Debuggi
flackr 2016/05/05 15:13:15 Correct, flow control and scheduling sounds right.
167 }; 171 };
168 172
169 } // namespace blink 173 } // namespace blink
170 174
171 #endif // WebLayerTreeView_h 175 #endif // WebLayerTreeView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698