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

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

Issue 2166703003: Implement Main Thread RAF Aligned Input (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_main_thread_queue
Patch Set: Rename NeedsMainFrame to SetNeedsMainFrame and move it to the render_widget Created 4 years, 3 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 void RegisterVideoHoleFrame(RenderFrameImpl* frame); 177 void RegisterVideoHoleFrame(RenderFrameImpl* frame);
178 void UnregisterVideoHoleFrame(RenderFrameImpl* frame); 178 void UnregisterVideoHoleFrame(RenderFrameImpl* frame);
179 #endif // defined(VIDEO_HOLE) 179 #endif // defined(VIDEO_HOLE)
180 180
181 // IPC::Listener 181 // IPC::Listener
182 bool OnMessageReceived(const IPC::Message& msg) override; 182 bool OnMessageReceived(const IPC::Message& msg) override;
183 183
184 // IPC::Sender 184 // IPC::Sender
185 bool Send(IPC::Message* msg) override; 185 bool Send(IPC::Message* msg) override;
186 186
187 // Requests a BeginMainFrame callback from the compositor.
188 void SetNeedsMainFrame();
189
187 // RenderWidgetCompositorDelegate 190 // RenderWidgetCompositorDelegate
188 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta, 191 void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta,
189 const gfx::Vector2dF& outer_delta, 192 const gfx::Vector2dF& outer_delta,
190 const gfx::Vector2dF& elastic_overscroll_delta, 193 const gfx::Vector2dF& elastic_overscroll_delta,
191 float page_scale, 194 float page_scale,
192 float top_controls_delta) override; 195 float top_controls_delta) override;
193 void BeginMainFrame(double frame_time_sec) override; 196 void BeginMainFrame(double frame_time_sec) override;
194 std::unique_ptr<cc::OutputSurface> CreateOutputSurface( 197 std::unique_ptr<cc::OutputSurface> CreateOutputSurface(
195 bool fallback) override; 198 bool fallback) override;
196 std::unique_ptr<cc::BeginFrameSource> CreateExternalBeginFrameSource() 199 std::unique_ptr<cc::BeginFrameSource> CreateExternalBeginFrameSource()
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 // This reference is set by the RenderFrame and is used to query the IME- 797 // This reference is set by the RenderFrame and is used to query the IME-
795 // related state from the plugin to later send to the browser. 798 // related state from the plugin to later send to the browser.
796 PepperPluginInstanceImpl* focused_pepper_plugin_; 799 PepperPluginInstanceImpl* focused_pepper_plugin_;
797 800
798 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 801 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
799 }; 802 };
800 803
801 } // namespace content 804 } // namespace content
802 805
803 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 806 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/mus/compositor_mus_connection_unittest.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698