OLD | NEW |
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 Loading... |
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 Loading... |
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>) {
} |
167 }; | 171 }; |
168 | 172 |
169 } // namespace blink | 173 } // namespace blink |
170 | 174 |
171 #endif // WebLayerTreeView_h | 175 #endif // WebLayerTreeView_h |
OLD | NEW |