| 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 void setDeferCommits(bool defer_commits) override; | 128 void setDeferCommits(bool defer_commits) override; |
| 129 void registerForAnimations(blink::WebLayer* layer) override; | 129 void registerForAnimations(blink::WebLayer* layer) override; |
| 130 void registerViewportLayers( | 130 void registerViewportLayers( |
| 131 const blink::WebLayer* overscrollElasticityLayer, | 131 const blink::WebLayer* overscrollElasticityLayer, |
| 132 const blink::WebLayer* pageScaleLayer, | 132 const blink::WebLayer* pageScaleLayer, |
| 133 const blink::WebLayer* innerViewportScrollLayer, | 133 const blink::WebLayer* innerViewportScrollLayer, |
| 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 void setHaveWheelEventHandlers(bool) override; | 138 void setEventListenerProperties( |
| 139 bool haveWheelEventHandlers() const override; | 139 blink::WebEventListenerClass eventClass, |
| 140 blink::WebEventListenerProperties properties) override; |
| 141 blink::WebEventListenerProperties eventListenerProperties( |
| 142 blink::WebEventListenerClass eventClass) const override; |
| 140 void setHaveScrollEventHandlers(bool) override; | 143 void setHaveScrollEventHandlers(bool) override; |
| 141 bool haveScrollEventHandlers() const override; | 144 bool haveScrollEventHandlers() const override; |
| 142 int layerTreeId() const override; | 145 int layerTreeId() const override; |
| 143 void setShowFPSCounter(bool show) override; | 146 void setShowFPSCounter(bool show) override; |
| 144 void setShowPaintRects(bool show) override; | 147 void setShowPaintRects(bool show) override; |
| 145 void setShowDebugBorders(bool show) override; | 148 void setShowDebugBorders(bool show) override; |
| 146 void setShowScrollBottleneckRects(bool show) override; | 149 void setShowScrollBottleneckRects(bool show) override; |
| 147 | 150 |
| 148 void updateTopControlsState(blink::WebTopControlsState constraints, | 151 void updateTopControlsState(blink::WebTopControlsState constraints, |
| 149 blink::WebTopControlsState current, | 152 blink::WebTopControlsState current, |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 scoped_ptr<cc::CopyOutputRequest> temporary_copy_output_request_; | 215 scoped_ptr<cc::CopyOutputRequest> temporary_copy_output_request_; |
| 213 | 216 |
| 214 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_; | 217 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_; |
| 215 | 218 |
| 216 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; | 219 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; |
| 217 }; | 220 }; |
| 218 | 221 |
| 219 } // namespace content | 222 } // namespace content |
| 220 | 223 |
| 221 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ | 224 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ |
| OLD | NEW |