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

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

Issue 2240273002: Move |DidOverscrollParams| from |content::| to "ui/events/blink" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move DidOverscrollParams to ui:: 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
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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 namespace cc { 73 namespace cc {
74 class OutputSurface; 74 class OutputSurface;
75 class SwapPromise; 75 class SwapPromise;
76 } 76 }
77 77
78 namespace gfx { 78 namespace gfx {
79 class Range; 79 class Range;
80 } 80 }
81 81
82 namespace ui {
83 struct DidOverscrollParams;
84 }
85
82 namespace content { 86 namespace content {
83 class CompositorDependencies; 87 class CompositorDependencies;
84 class ExternalPopupMenu; 88 class ExternalPopupMenu;
85 class FrameSwapMessageQueue; 89 class FrameSwapMessageQueue;
86 class ImeEventGuard; 90 class ImeEventGuard;
87 class PepperPluginInstanceImpl; 91 class PepperPluginInstanceImpl;
88 class RenderFrameImpl; 92 class RenderFrameImpl;
89 class RenderFrameProxy; 93 class RenderFrameProxy;
90 class RenderWidgetCompositor; 94 class RenderWidgetCompositor;
91 class RenderWidgetOwnerDelegate; 95 class RenderWidgetOwnerDelegate;
92 class RenderWidgetScreenMetricsEmulator; 96 class RenderWidgetScreenMetricsEmulator;
93 class ResizingModeSelector; 97 class ResizingModeSelector;
94 struct ContextMenuParams; 98 struct ContextMenuParams;
95 struct DidOverscrollParams;
96 struct ResizeParams; 99 struct ResizeParams;
97 100
98 // RenderWidget provides a communication bridge between a WebWidget and 101 // RenderWidget provides a communication bridge between a WebWidget and
99 // a RenderWidgetHost, the latter of which lives in a different process. 102 // a RenderWidgetHost, the latter of which lives in a different process.
100 // 103 //
101 // RenderWidget is used to implement: 104 // RenderWidget is used to implement:
102 // - RenderViewImpl (deprecated) 105 // - RenderViewImpl (deprecated)
103 // - Fullscreen mode (RenderWidgetFullScreen) 106 // - Fullscreen mode (RenderWidgetFullScreen)
104 // - Popup "menus" (like the color chooser and date picker) 107 // - Popup "menus" (like the color chooser and date picker)
105 // - Widgets for frames (for out-of-process iframe support) 108 // - Widgets for frames (for out-of-process iframe support)
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 std::unique_ptr<cc::CopyOutputRequest> request) override; 210 std::unique_ptr<cc::CopyOutputRequest> request) override;
208 211
209 // RenderWidgetInputHandlerDelegate 212 // RenderWidgetInputHandlerDelegate
210 void FocusChangeComplete() override; 213 void FocusChangeComplete() override;
211 bool HasTouchEventHandlersAt(const gfx::Point& point) const override; 214 bool HasTouchEventHandlersAt(const gfx::Point& point) const override;
212 void ObserveGestureEventAndResult(const blink::WebGestureEvent& gesture_event, 215 void ObserveGestureEventAndResult(const blink::WebGestureEvent& gesture_event,
213 const gfx::Vector2dF& unused_delta, 216 const gfx::Vector2dF& unused_delta,
214 bool event_processed) override; 217 bool event_processed) override;
215 218
216 void OnDidHandleKeyEvent() override; 219 void OnDidHandleKeyEvent() override;
217 void OnDidOverscroll(const DidOverscrollParams& params) override; 220 void OnDidOverscroll(const ui::DidOverscrollParams& params) override;
218 void OnInputEventAck(std::unique_ptr<InputEventAck> input_event_ack) override; 221 void OnInputEventAck(std::unique_ptr<InputEventAck> input_event_ack) override;
219 void NotifyInputEventHandled(blink::WebInputEvent::Type handled_type, 222 void NotifyInputEventHandled(blink::WebInputEvent::Type handled_type,
220 InputEventAckState ack_result) override; 223 InputEventAckState ack_result) override;
221 void SetInputHandler(RenderWidgetInputHandler* input_handler) override; 224 void SetInputHandler(RenderWidgetInputHandler* input_handler) override;
222 void UpdateTextInputState(ShowIme show_ime, 225 void UpdateTextInputState(ShowIme show_ime,
223 ChangeSource change_source) override; 226 ChangeSource change_source) override;
224 bool WillHandleGestureEvent(const blink::WebGestureEvent& event) override; 227 bool WillHandleGestureEvent(const blink::WebGestureEvent& event) override;
225 bool WillHandleMouseEvent(const blink::WebMouseEvent& event) override; 228 bool WillHandleMouseEvent(const blink::WebMouseEvent& event) override;
226 229
227 // RenderWidgetScreenMetricsDelegate 230 // RenderWidgetScreenMetricsDelegate
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
790 // This reference is set by the RenderFrame and is used to query the IME- 793 // This reference is set by the RenderFrame and is used to query the IME-
791 // related state from the plugin to later send to the browser. 794 // related state from the plugin to later send to the browser.
792 PepperPluginInstanceImpl* focused_pepper_plugin_; 795 PepperPluginInstanceImpl* focused_pepper_plugin_;
793 796
794 DISALLOW_COPY_AND_ASSIGN(RenderWidget); 797 DISALLOW_COPY_AND_ASSIGN(RenderWidget);
795 }; 798 };
796 799
797 } // namespace content 800 } // namespace content
798 801
799 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ 802 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698