Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Side by Side Diff: content/renderer/render_widget.h

Issue 1602343002: compositor-worker: cc->blink mutation plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@compositor-worker-ian-patch
Patch Set: rebase Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 11 matching lines...) Expand all
22 #include "content/common/content_export.h" 22 #include "content/common/content_export.h"
23 #include "content/common/cursors/webcursor.h" 23 #include "content/common/cursors/webcursor.h"
24 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" 24 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
25 #include "content/common/input/synthetic_gesture_params.h" 25 #include "content/common/input/synthetic_gesture_params.h"
26 #include "content/renderer/gpu/render_widget_compositor_delegate.h" 26 #include "content/renderer/gpu/render_widget_compositor_delegate.h"
27 #include "content/renderer/input/render_widget_input_handler.h" 27 #include "content/renderer/input/render_widget_input_handler.h"
28 #include "content/renderer/input/render_widget_input_handler_delegate.h" 28 #include "content/renderer/input/render_widget_input_handler_delegate.h"
29 #include "content/renderer/message_delivery_policy.h" 29 #include "content/renderer/message_delivery_policy.h"
30 #include "ipc/ipc_listener.h" 30 #include "ipc/ipc_listener.h"
31 #include "ipc/ipc_sender.h" 31 #include "ipc/ipc_sender.h"
32 #include "third_party/WebKit/public/platform/WebCompositorMutations.h"
32 #include "third_party/WebKit/public/platform/WebDisplayMode.h" 33 #include "third_party/WebKit/public/platform/WebDisplayMode.h"
33 #include "third_party/WebKit/public/platform/WebRect.h" 34 #include "third_party/WebKit/public/platform/WebRect.h"
34 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" 35 #include "third_party/WebKit/public/web/WebCompositionUnderline.h"
35 #include "third_party/WebKit/public/web/WebInputEvent.h" 36 #include "third_party/WebKit/public/web/WebInputEvent.h"
36 #include "third_party/WebKit/public/web/WebPopupType.h" 37 #include "third_party/WebKit/public/web/WebPopupType.h"
37 #include "third_party/WebKit/public/web/WebTextDirection.h" 38 #include "third_party/WebKit/public/web/WebTextDirection.h"
38 #include "third_party/WebKit/public/web/WebTextInputInfo.h" 39 #include "third_party/WebKit/public/web/WebTextInputInfo.h"
39 #include "third_party/WebKit/public/web/WebTouchAction.h" 40 #include "third_party/WebKit/public/web/WebTouchAction.h"
40 #include "third_party/WebKit/public/web/WebWidget.h" 41 #include "third_party/WebKit/public/web/WebWidget.h"
41 #include "third_party/WebKit/public/web/WebWidgetClient.h" 42 #include "third_party/WebKit/public/web/WebWidgetClient.h"
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 168
168 // IPC::Sender 169 // IPC::Sender
169 bool Send(IPC::Message* msg) override; 170 bool Send(IPC::Message* msg) override;
170 171
171 // RenderWidgetCompositorDelegate 172 // RenderWidgetCompositorDelegate
172 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, 173 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta,
173 const gfx::Vector2dF& outer_delta, 174 const gfx::Vector2dF& outer_delta,
174 const gfx::Vector2dF& elastic_overscroll_delta, 175 const gfx::Vector2dF& elastic_overscroll_delta,
175 float page_scale, 176 float page_scale,
176 float top_controls_delta) override; 177 float top_controls_delta) override;
178 void ApplyMutations(const cc::LayerTreeMutations& mutations) override;
177 void BeginMainFrame(double frame_time_sec) override; 179 void BeginMainFrame(double frame_time_sec) override;
178 scoped_ptr<cc::OutputSurface> CreateOutputSurface(bool fallback) override; 180 scoped_ptr<cc::OutputSurface> CreateOutputSurface(bool fallback) override;
179 scoped_ptr<cc::BeginFrameSource> CreateExternalBeginFrameSource() override; 181 scoped_ptr<cc::BeginFrameSource> CreateExternalBeginFrameSource() override;
180 void DidCommitAndDrawCompositorFrame() override; 182 void DidCommitAndDrawCompositorFrame() override;
181 void DidCommitCompositorFrame() override; 183 void DidCommitCompositorFrame() override;
182 void DidCompletePageScaleAnimation() override; 184 void DidCompletePageScaleAnimation() override;
183 void DidCompleteSwapBuffers() override; 185 void DidCompleteSwapBuffers() override;
184 bool ForOOPIF() const override; 186 bool ForOOPIF() const override;
185 void ForwardCompositorProto(const std::vector<uint8_t>& proto) override; 187 void ForwardCompositorProto(const std::vector<uint8_t>& proto) override;
186 bool IsClosing() const override; 188 bool IsClosing() const override;
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
753 755
754 scoped_ptr<scheduler::RenderWidgetSchedulingState> 756 scoped_ptr<scheduler::RenderWidgetSchedulingState>
755 render_widget_scheduling_state_; 757 render_widget_scheduling_state_;
756 758
757 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 759 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
758 }; 760 };
759 761
760 } // namespace content 762 } // namespace content
761 763
762 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 764 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698