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

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

Issue 2162083005: Use surface copy requests for layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: piman comment Created 4 years, 4 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
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 void DidCompletePageScaleAnimation() override; 197 void DidCompletePageScaleAnimation() override;
198 void DidCompleteSwapBuffers() override; 198 void DidCompleteSwapBuffers() override;
199 void ForwardCompositorProto(const std::vector<uint8_t>& proto) override; 199 void ForwardCompositorProto(const std::vector<uint8_t>& proto) override;
200 bool IsClosing() const override; 200 bool IsClosing() const override;
201 void OnSwapBuffersAborted() override; 201 void OnSwapBuffersAborted() override;
202 void OnSwapBuffersComplete() override; 202 void OnSwapBuffersComplete() override;
203 void OnSwapBuffersPosted() override; 203 void OnSwapBuffersPosted() override;
204 void RequestScheduleAnimation() override; 204 void RequestScheduleAnimation() override;
205 void UpdateVisualState() override; 205 void UpdateVisualState() override;
206 void WillBeginCompositorFrame() override; 206 void WillBeginCompositorFrame() override;
207 std::unique_ptr<cc::SwapPromise> RequestCopyOfOutputForLayoutTest(
208 std::unique_ptr<cc::CopyOutputRequest> request) override;
207 209
208 // RenderWidgetInputHandlerDelegate 210 // RenderWidgetInputHandlerDelegate
209 void FocusChangeComplete() override; 211 void FocusChangeComplete() override;
210 bool HasTouchEventHandlersAt(const gfx::Point& point) const override; 212 bool HasTouchEventHandlersAt(const gfx::Point& point) const override;
211 void ObserveGestureEventAndResult(const blink::WebGestureEvent& gesture_event, 213 void ObserveGestureEventAndResult(const blink::WebGestureEvent& gesture_event,
212 const gfx::Vector2dF& unused_delta, 214 const gfx::Vector2dF& unused_delta,
213 bool event_processed) override; 215 bool event_processed) override;
214 216
215 void OnDidHandleKeyEvent() override; 217 void OnDidHandleKeyEvent() override;
216 void OnDidOverscroll(const DidOverscrollParams& params) override; 218 void OnDidOverscroll(const DidOverscrollParams& params) override;
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after
781 // This reference is set by the RenderFrame and is used to query the IME- 783 // This reference is set by the RenderFrame and is used to query the IME-
782 // related state from the plugin to later send to the browser. 784 // related state from the plugin to later send to the browser.
783 PepperPluginInstanceImpl* focused_pepper_plugin_; 785 PepperPluginInstanceImpl* focused_pepper_plugin_;
784 786
785 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 787 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
786 }; 788 };
787 789
788 } // namespace content 790 } // namespace content
789 791
790 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 792 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698