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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 const blink::WebLayer* outerViewportScrollLayer) override; | 152 const blink::WebLayer* outerViewportScrollLayer) override; |
153 void clearViewportLayers() override; | 153 void clearViewportLayers() override; |
154 void registerSelection(const blink::WebSelection& selection) override; | 154 void registerSelection(const blink::WebSelection& selection) override; |
155 void clearSelection() override; | 155 void clearSelection() override; |
156 void setMutatorClient( | 156 void setMutatorClient( |
157 std::unique_ptr<blink::WebCompositorMutatorClient>) override; | 157 std::unique_ptr<blink::WebCompositorMutatorClient>) override; |
158 void forceRecalculateRasterScales() override; | 158 void forceRecalculateRasterScales() override; |
159 void setEventListenerProperties( | 159 void setEventListenerProperties( |
160 blink::WebEventListenerClass eventClass, | 160 blink::WebEventListenerClass eventClass, |
161 blink::WebEventListenerProperties properties) override; | 161 blink::WebEventListenerProperties properties) override; |
162 void updateTouchRectsForSubframeIfNecessary() override; | 162 void updateEventRectsForSubframeIfNecessary() override; |
163 blink::WebEventListenerProperties eventListenerProperties( | 163 blink::WebEventListenerProperties eventListenerProperties( |
164 blink::WebEventListenerClass eventClass) const override; | 164 blink::WebEventListenerClass eventClass) const override; |
165 void setHaveScrollEventHandlers(bool) override; | 165 void setHaveScrollEventHandlers(bool) override; |
166 bool haveScrollEventHandlers() const override; | 166 bool haveScrollEventHandlers() const override; |
167 int layerTreeId() const override; | 167 int layerTreeId() const override; |
168 void setShowFPSCounter(bool show) override; | 168 void setShowFPSCounter(bool show) override; |
169 void setShowPaintRects(bool show) override; | 169 void setShowPaintRects(bool show) override; |
170 void setShowDebugBorders(bool show) override; | 170 void setShowDebugBorders(bool show) override; |
171 void setShowScrollBottleneckRects(bool show) override; | 171 void setShowScrollBottleneckRects(bool show) override; |
172 | 172 |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 blink::WebLayoutAndPaintAsyncCallback* layout_and_paint_async_callback_; | 235 blink::WebLayoutAndPaintAsyncCallback* layout_and_paint_async_callback_; |
236 | 236 |
237 cc::FrameSinkId frame_sink_id_; | 237 cc::FrameSinkId frame_sink_id_; |
238 | 238 |
239 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; | 239 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; |
240 }; | 240 }; |
241 | 241 |
242 } // namespace content | 242 } // namespace content |
243 | 243 |
244 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ | 244 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ |
OLD | NEW |