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

Side by Side Diff: content/browser/frame_host/render_widget_host_view_child_frame.h

Issue 1993383002: Adding Event.Latency.Browser.WheelUI, Passing latency_info to ProcessMouse/MouseWheelEvent functions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 void ClearCompositorFrame() override {} 133 void ClearCompositorFrame() override {}
134 void GetScreenInfo(blink::WebScreenInfo* results) override; 134 void GetScreenInfo(blink::WebScreenInfo* results) override;
135 bool GetScreenColorProfile(std::vector<char>* color_profile) override; 135 bool GetScreenColorProfile(std::vector<char>* color_profile) override;
136 gfx::Rect GetBoundsInRootWindow() override; 136 gfx::Rect GetBoundsInRootWindow() override;
137 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, 137 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch,
138 InputEventAckState ack_result) override; 138 InputEventAckState ack_result) override;
139 bool LockMouse() override; 139 bool LockMouse() override;
140 void UnlockMouse() override; 140 void UnlockMouse() override;
141 uint32_t GetSurfaceIdNamespace() override; 141 uint32_t GetSurfaceIdNamespace() override;
142 void ProcessKeyboardEvent(const NativeWebKeyboardEvent& event) override; 142 void ProcessKeyboardEvent(const NativeWebKeyboardEvent& event) override;
143 void ProcessMouseEvent(const blink::WebMouseEvent& event) override; 143 void ProcessMouseEvent(const blink::WebMouseEvent& event,
144 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event) override; 144 const ui::LatencyInfo& latency) override;
145 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event,
146 const ui::LatencyInfo& latency) override;
145 void ProcessTouchEvent(const blink::WebTouchEvent& event, 147 void ProcessTouchEvent(const blink::WebTouchEvent& event,
146 const ui::LatencyInfo& latency) override; 148 const ui::LatencyInfo& latency) override;
147 void ProcessGestureEvent(const blink::WebGestureEvent& event, 149 void ProcessGestureEvent(const blink::WebGestureEvent& event,
148 const ui::LatencyInfo& latency) override; 150 const ui::LatencyInfo& latency) override;
149 gfx::Point TransformPointToRootCoordSpace(const gfx::Point& point) override; 151 gfx::Point TransformPointToRootCoordSpace(const gfx::Point& point) override;
150 152
151 #if defined(OS_MACOSX) 153 #if defined(OS_MACOSX)
152 // RenderWidgetHostView implementation. 154 // RenderWidgetHostView implementation.
153 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override; 155 ui::AcceleratedWidgetMac* GetAcceleratedWidgetMac() const override;
154 void SetActive(bool active) override; 156 void SetActive(bool active) override;
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 // The surface id namespace of the parent RenderWidgetHostView. 0 if none. 248 // The surface id namespace of the parent RenderWidgetHostView. 0 if none.
247 uint32_t parent_surface_id_namespace_; 249 uint32_t parent_surface_id_namespace_;
248 250
249 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; 251 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_;
250 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); 252 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame);
251 }; 253 };
252 254
253 } // namespace content 255 } // namespace content
254 256
255 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 257 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698