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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 blink::WebEventListenerProperties eventListenerProperties( | 140 blink::WebEventListenerProperties eventListenerProperties( |
141 blink::WebEventListenerClass eventClass) const override; | 141 blink::WebEventListenerClass eventClass) const override; |
142 void setHaveScrollEventHandlers(bool) override; | 142 void setHaveScrollEventHandlers(bool) override; |
143 bool haveScrollEventHandlers() const override; | 143 bool haveScrollEventHandlers() const override; |
144 int layerTreeId() const override; | 144 int layerTreeId() const override; |
145 void setShowFPSCounter(bool show) override; | 145 void setShowFPSCounter(bool show) override; |
146 void setShowPaintRects(bool show) override; | 146 void setShowPaintRects(bool show) override; |
147 void setShowDebugBorders(bool show) override; | 147 void setShowDebugBorders(bool show) override; |
148 void setShowScrollBottleneckRects(bool show) override; | 148 void setShowScrollBottleneckRects(bool show) override; |
149 | 149 |
| 150 void setMutatorClient(blink::WebCompositorMutatorClient*) override; |
| 151 |
150 void updateTopControlsState(blink::WebTopControlsState constraints, | 152 void updateTopControlsState(blink::WebTopControlsState constraints, |
151 blink::WebTopControlsState current, | 153 blink::WebTopControlsState current, |
152 bool animate) override; | 154 bool animate) override; |
153 void setTopControlsHeight(float height, bool shrink) override; | 155 void setTopControlsHeight(float height, bool shrink) override; |
154 void setTopControlsShownRatio(float) override; | 156 void setTopControlsShownRatio(float) override; |
155 | 157 |
156 // cc::LayerTreeHostClient implementation. | 158 // cc::LayerTreeHostClient implementation. |
157 void WillBeginMainFrame() override; | 159 void WillBeginMainFrame() override; |
158 void DidBeginMainFrame() override; | 160 void DidBeginMainFrame() override; |
159 void BeginMainFrame(const cc::BeginFrameArgs& args) override; | 161 void BeginMainFrame(const cc::BeginFrameArgs& args) override; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 std::unique_ptr<cc::CopyOutputRequest> temporary_copy_output_request_; | 219 std::unique_ptr<cc::CopyOutputRequest> temporary_copy_output_request_; |
218 | 220 |
219 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_; | 221 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_; |
220 | 222 |
221 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; | 223 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; |
222 }; | 224 }; |
223 | 225 |
224 } // namespace content | 226 } // namespace content |
225 | 227 |
226 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ | 228 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ |
OLD | NEW |