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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 void StopSpeaking() override; | 119 void StopSpeaking() override; |
120 #endif // defined(OS_MACOSX) | 120 #endif // defined(OS_MACOSX) |
121 | 121 |
122 void OnSetNeedsFlushInput() override; | 122 void OnSetNeedsFlushInput() override; |
123 void WheelEventAck(const blink::WebMouseWheelEvent& event, | 123 void WheelEventAck(const blink::WebMouseWheelEvent& event, |
124 InputEventAckState ack_result) override; | 124 InputEventAckState ack_result) override; |
125 | 125 |
126 void GestureEventAck(const blink::WebGestureEvent& event, | 126 void GestureEventAck(const blink::WebGestureEvent& event, |
127 InputEventAckState ack_result) override; | 127 InputEventAckState ack_result) override; |
128 | 128 |
| 129 InputEventAckState FilterInputEvent( |
| 130 const blink::WebInputEvent& input_event) override; |
| 131 |
129 bool IsRenderWidgetHostViewGuest() override; | 132 bool IsRenderWidgetHostViewGuest() override; |
130 RenderWidgetHostViewBase* GetOwnerRenderWidgetHostView() const; | 133 RenderWidgetHostViewBase* GetOwnerRenderWidgetHostView() const; |
131 | 134 |
132 private: | 135 private: |
133 friend class RenderWidgetHostView; | 136 friend class RenderWidgetHostView; |
134 | 137 |
135 void SendSurfaceInfoToEmbedderImpl( | 138 void SendSurfaceInfoToEmbedderImpl( |
136 const cc::SurfaceInfo& surface_info, | 139 const cc::SurfaceInfo& surface_info, |
137 const cc::SurfaceSequence& sequence) override; | 140 const cc::SurfaceSequence& sequence) override; |
138 | 141 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 // The guest may forward its updates only when there is an ongoing IME | 173 // The guest may forward its updates only when there is an ongoing IME |
171 // session. | 174 // session. |
172 bool should_forward_text_selection_; | 175 bool should_forward_text_selection_; |
173 | 176 |
174 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 177 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
175 }; | 178 }; |
176 | 179 |
177 } // namespace content | 180 } // namespace content |
178 | 181 |
179 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 182 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |