| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_RENDER_WIDGET_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_ |
| 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ | 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 | 204 |
| 205 // RenderWidgetCompositorDelegate | 205 // RenderWidgetCompositorDelegate |
| 206 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, | 206 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, |
| 207 const gfx::Vector2dF& outer_delta, | 207 const gfx::Vector2dF& outer_delta, |
| 208 const gfx::Vector2dF& elastic_overscroll_delta, | 208 const gfx::Vector2dF& elastic_overscroll_delta, |
| 209 float page_scale, | 209 float page_scale, |
| 210 float top_controls_delta) override; | 210 float top_controls_delta) override; |
| 211 void BeginMainFrame(double frame_time_sec) override; | 211 void BeginMainFrame(double frame_time_sec) override; |
| 212 std::unique_ptr<cc::OutputSurface> CreateOutputSurface( | 212 std::unique_ptr<cc::OutputSurface> CreateOutputSurface( |
| 213 bool fallback) override; | 213 bool fallback) override; |
| 214 std::unique_ptr<cc::BeginFrameSource> CreateExternalBeginFrameSource() | |
| 215 override; | |
| 216 void DidCommitAndDrawCompositorFrame() override; | 214 void DidCommitAndDrawCompositorFrame() override; |
| 217 void DidCommitCompositorFrame() override; | 215 void DidCommitCompositorFrame() override; |
| 218 void DidCompletePageScaleAnimation() override; | 216 void DidCompletePageScaleAnimation() override; |
| 219 void DidCompleteSwapBuffers() override; | 217 void DidCompleteSwapBuffers() override; |
| 220 void ForwardCompositorProto(const std::vector<uint8_t>& proto) override; | 218 void ForwardCompositorProto(const std::vector<uint8_t>& proto) override; |
| 221 bool IsClosing() const override; | 219 bool IsClosing() const override; |
| 222 void OnSwapBuffersAborted() override; | 220 void OnSwapBuffersAborted() override; |
| 223 void OnSwapBuffersComplete() override; | 221 void OnSwapBuffersComplete() override; |
| 224 void OnSwapBuffersPosted() override; | 222 void OnSwapBuffersPosted() override; |
| 225 void RequestScheduleAnimation() override; | 223 void RequestScheduleAnimation() override; |
| (...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 809 // This reference is set by the RenderFrame and is used to query the IME- | 807 // This reference is set by the RenderFrame and is used to query the IME- |
| 810 // related state from the plugin to later send to the browser. | 808 // related state from the plugin to later send to the browser. |
| 811 PepperPluginInstanceImpl* focused_pepper_plugin_; | 809 PepperPluginInstanceImpl* focused_pepper_plugin_; |
| 812 | 810 |
| 813 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 811 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
| 814 }; | 812 }; |
| 815 | 813 |
| 816 } // namespace content | 814 } // namespace content |
| 817 | 815 |
| 818 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 816 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
| OLD | NEW |