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

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

Issue 2951053005: Add Mojo API for Blink hit testing (Closed)
Patch Set: Address Rob's comments Created 3 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 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_GUEST_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 InputEventAckState ack_result) override; 101 InputEventAckState ack_result) override;
102 #endif 102 #endif
103 void ProcessMouseEvent(const blink::WebMouseEvent& event, 103 void ProcessMouseEvent(const blink::WebMouseEvent& event,
104 const ui::LatencyInfo& latency) override; 104 const ui::LatencyInfo& latency) override;
105 void ProcessTouchEvent(const blink::WebTouchEvent& event, 105 void ProcessTouchEvent(const blink::WebTouchEvent& event,
106 const ui::LatencyInfo& latency) override; 106 const ui::LatencyInfo& latency) override;
107 107
108 bool LockMouse() override; 108 bool LockMouse() override;
109 void UnlockMouse() override; 109 void UnlockMouse() override;
110 void DidCreateNewRendererCompositorFrameSink( 110 void DidCreateNewRendererCompositorFrameSink(
111 viz::mojom::CompositorFrameSinkClient* renderer_compositor_frame_sink) 111 viz::mojom::CompositorFrameSinkClient* renderer_compositor_frame_sink,
112 override; 112 viz::mojom::TargetFrameForInputDelegate*) override;
113 113
114 #if defined(OS_MACOSX) 114 #if defined(OS_MACOSX)
115 // RenderWidgetHostView implementation. 115 // RenderWidgetHostView implementation.
116 void SetActive(bool active) override; 116 void SetActive(bool active) override;
117 void ShowDefinitionForSelection() override; 117 void ShowDefinitionForSelection() override;
118 bool SupportsSpeech() const override; 118 bool SupportsSpeech() const override;
119 void SpeakSelection() override; 119 void SpeakSelection() override;
120 bool IsSpeaking() const override; 120 bool IsSpeaking() const override;
121 void StopSpeaking() override; 121 void StopSpeaking() override;
122 #endif // defined(OS_MACOSX) 122 #endif // defined(OS_MACOSX)
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 // The guest may forward its updates only when there is an ongoing IME 174 // The guest may forward its updates only when there is an ongoing IME
175 // session. 175 // session.
176 bool should_forward_text_selection_; 176 bool should_forward_text_selection_;
177 177
178 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); 178 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest);
179 }; 179 };
180 180
181 } // namespace content 181 } // namespace content
182 182
183 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ 183 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698