OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 #ifndef CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ | 5 #ifndef CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ |
6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ | 6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 const blink::WebLayer* outerViewportScrollLayer) override; | 134 const blink::WebLayer* outerViewportScrollLayer) override; |
135 void clearViewportLayers() override; | 135 void clearViewportLayers() override; |
136 void registerSelection(const blink::WebSelection& selection) override; | 136 void registerSelection(const blink::WebSelection& selection) override; |
137 void clearSelection() override; | 137 void clearSelection() override; |
138 int layerTreeId() const override; | 138 int layerTreeId() const override; |
139 void setShowFPSCounter(bool show) override; | 139 void setShowFPSCounter(bool show) override; |
140 void setShowPaintRects(bool show) override; | 140 void setShowPaintRects(bool show) override; |
141 void setShowDebugBorders(bool show) override; | 141 void setShowDebugBorders(bool show) override; |
142 void setShowScrollBottleneckRects(bool show) override; | 142 void setShowScrollBottleneckRects(bool show) override; |
143 | 143 |
| 144 void setMutatorClient(blink::WebCompositorMutatorClient*) override; |
| 145 |
144 void updateTopControlsState(blink::WebTopControlsState constraints, | 146 void updateTopControlsState(blink::WebTopControlsState constraints, |
145 blink::WebTopControlsState current, | 147 blink::WebTopControlsState current, |
146 bool animate) override; | 148 bool animate) override; |
147 void setTopControlsHeight(float height, bool shrink) override; | 149 void setTopControlsHeight(float height, bool shrink) override; |
148 void setTopControlsShownRatio(float) override; | 150 void setTopControlsShownRatio(float) override; |
149 | 151 |
150 // cc::LayerTreeHostClient implementation. | 152 // cc::LayerTreeHostClient implementation. |
151 void WillBeginMainFrame() override; | 153 void WillBeginMainFrame() override; |
152 void DidBeginMainFrame() override; | 154 void DidBeginMainFrame() override; |
153 void BeginMainFrame(const cc::BeginFrameArgs& args) override; | 155 void BeginMainFrame(const cc::BeginFrameArgs& args) override; |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 scoped_ptr<cc::CopyOutputRequest> temporary_copy_output_request_; | 211 scoped_ptr<cc::CopyOutputRequest> temporary_copy_output_request_; |
210 | 212 |
211 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_; | 213 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_; |
212 | 214 |
213 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; | 215 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; |
214 }; | 216 }; |
215 | 217 |
216 } // namespace content | 218 } // namespace content |
217 | 219 |
218 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ | 220 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ |
OLD | NEW |