| 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 setHaveWheelEventHandlers(bool) override; |
| 139 bool haveWheelEventHandlers() const override; | 139 bool haveWheelEventHandlers() const override; |
| 140 void setHaveScrollEventHandlers(bool) override; |
| 141 bool haveScrollEventHandlers() const override; |
| 140 int layerTreeId() const override; | 142 int layerTreeId() const override; |
| 141 void setShowFPSCounter(bool show) override; | 143 void setShowFPSCounter(bool show) override; |
| 142 void setShowPaintRects(bool show) override; | 144 void setShowPaintRects(bool show) override; |
| 143 void setShowDebugBorders(bool show) override; | 145 void setShowDebugBorders(bool show) override; |
| 144 void setShowScrollBottleneckRects(bool show) override; | 146 void setShowScrollBottleneckRects(bool show) override; |
| 145 | 147 |
| 146 void updateTopControlsState(blink::WebTopControlsState constraints, | 148 void updateTopControlsState(blink::WebTopControlsState constraints, |
| 147 blink::WebTopControlsState current, | 149 blink::WebTopControlsState current, |
| 148 bool animate) override; | 150 bool animate) override; |
| 149 void setTopControlsHeight(float height, bool shrink) override; | 151 void setTopControlsHeight(float height, bool shrink) override; |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 scoped_ptr<cc::CopyOutputRequest> temporary_copy_output_request_; | 212 scoped_ptr<cc::CopyOutputRequest> temporary_copy_output_request_; |
| 211 | 213 |
| 212 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_; | 214 cc::RemoteProtoChannel::ProtoReceiver* remote_proto_channel_receiver_; |
| 213 | 215 |
| 214 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; | 216 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; |
| 215 }; | 217 }; |
| 216 | 218 |
| 217 } // namespace content | 219 } // namespace content |
| 218 | 220 |
| 219 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ | 221 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ |
| OLD | NEW |