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