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

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

Issue 1752833002: Implement Gesture event hit testing/forwarding for OOPIF. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wjmCFTouch.v2
Patch Set: Update comments as per suggestions. Created 4 years, 9 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 | « no previous file | content/browser/frame_host/render_widget_host_view_child_frame.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 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, 134 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch,
135 InputEventAckState ack_result) override; 135 InputEventAckState ack_result) override;
136 bool LockMouse() override; 136 bool LockMouse() override;
137 void UnlockMouse() override; 137 void UnlockMouse() override;
138 uint32_t GetSurfaceIdNamespace() override; 138 uint32_t GetSurfaceIdNamespace() override;
139 void ProcessKeyboardEvent(const NativeWebKeyboardEvent& event) override; 139 void ProcessKeyboardEvent(const NativeWebKeyboardEvent& event) override;
140 void ProcessMouseEvent(const blink::WebMouseEvent& event) override; 140 void ProcessMouseEvent(const blink::WebMouseEvent& event) override;
141 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event) override; 141 void ProcessMouseWheelEvent(const blink::WebMouseWheelEvent& event) override;
142 void ProcessTouchEvent(const blink::WebTouchEvent& event, 142 void ProcessTouchEvent(const blink::WebTouchEvent& event,
143 const ui::LatencyInfo& latency) override; 143 const ui::LatencyInfo& latency) override;
144 void ProcessGestureEvent(const blink::WebGestureEvent& event,
145 const ui::LatencyInfo& latency) override;
144 gfx::Point TransformPointToRootCoordSpace(const gfx::Point& point) override; 146 gfx::Point TransformPointToRootCoordSpace(const gfx::Point& point) override;
145 147
146 #if defined(OS_MACOSX) 148 #if defined(OS_MACOSX)
147 // RenderWidgetHostView implementation. 149 // RenderWidgetHostView implementation.
148 void SetActive(bool active) override; 150 void SetActive(bool active) override;
149 void SetWindowVisibility(bool visible) override; 151 void SetWindowVisibility(bool visible) override;
150 void WindowFrameChanged() override; 152 void WindowFrameChanged() override;
151 void ShowDefinitionForSelection() override; 153 void ShowDefinitionForSelection() override;
152 bool SupportsSpeech() const override; 154 bool SupportsSpeech() const override;
153 void SpeakSelection() override; 155 void SpeakSelection() override;
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 // it convenient to swap() when processing the list. 238 // it convenient to swap() when processing the list.
237 FrameSwappedCallbackList frame_swapped_callbacks_; 239 FrameSwappedCallbackList frame_swapped_callbacks_;
238 240
239 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_; 241 base::WeakPtrFactory<RenderWidgetHostViewChildFrame> weak_factory_;
240 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame); 242 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewChildFrame);
241 }; 243 };
242 244
243 } // namespace content 245 } // namespace content
244 246
245 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_ 247 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_CHILD_FRAME_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/render_widget_host_view_child_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698