OLD | NEW |
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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 void ProcessTouchEvent(const blink::WebTouchEvent& event, | 103 void ProcessTouchEvent(const blink::WebTouchEvent& event, |
104 const ui::LatencyInfo& latency) override; | 104 const ui::LatencyInfo& latency) override; |
105 | 105 |
106 bool LockMouse() override; | 106 bool LockMouse() override; |
107 void UnlockMouse() override; | 107 void UnlockMouse() override; |
108 | 108 |
109 #if defined(OS_MACOSX) | 109 #if defined(OS_MACOSX) |
110 // RenderWidgetHostView implementation. | 110 // RenderWidgetHostView implementation. |
111 void SetActive(bool active) override; | 111 void SetActive(bool active) override; |
112 void ShowDefinitionForSelection() override; | 112 void ShowDefinitionForSelection() override; |
113 bool SupportsSpeech() const override; | |
114 void SpeakSelection() override; | 113 void SpeakSelection() override; |
115 bool IsSpeaking() const override; | |
116 void StopSpeaking() override; | |
117 #endif // defined(OS_MACOSX) | 114 #endif // defined(OS_MACOSX) |
118 | 115 |
119 void LockCompositingSurface() override; | 116 void LockCompositingSurface() override; |
120 void UnlockCompositingSurface() override; | 117 void UnlockCompositingSurface() override; |
121 | 118 |
122 void WheelEventAck(const blink::WebMouseWheelEvent& event, | 119 void WheelEventAck(const blink::WebMouseWheelEvent& event, |
123 InputEventAckState ack_result) override; | 120 InputEventAckState ack_result) override; |
124 | 121 |
125 void GestureEventAck(const blink::WebGestureEvent& event, | 122 void GestureEventAck(const blink::WebGestureEvent& event, |
126 InputEventAckState ack_result) override; | 123 InputEventAckState ack_result) override; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 // The platform view for this RenderWidgetHostView. | 155 // The platform view for this RenderWidgetHostView. |
159 // RenderWidgetHostViewGuest mostly only cares about stuff related to | 156 // RenderWidgetHostViewGuest mostly only cares about stuff related to |
160 // compositing, the rest are directly forwarded to this |platform_view_|. | 157 // compositing, the rest are directly forwarded to this |platform_view_|. |
161 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; | 158 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; |
162 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 159 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
163 }; | 160 }; |
164 | 161 |
165 } // namespace content | 162 } // namespace content |
166 | 163 |
167 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 164 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |