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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
113 #if defined(OS_MACOSX) | 113 #if defined(OS_MACOSX) |
114 // RenderWidgetHostView implementation. | 114 // RenderWidgetHostView implementation. |
115 void SetActive(bool active) override; | 115 void SetActive(bool active) override; |
116 void ShowDefinitionForSelection() override; | 116 void ShowDefinitionForSelection() override; |
117 bool SupportsSpeech() const override; | 117 bool SupportsSpeech() const override; |
118 void SpeakSelection() override; | 118 void SpeakSelection() override; |
119 bool IsSpeaking() const override; | 119 bool IsSpeaking() const override; |
120 void StopSpeaking() override; | 120 void StopSpeaking() override; |
121 #endif // defined(OS_MACOSX) | 121 #endif // defined(OS_MACOSX) |
122 | 122 |
123 #if defined(OS_ANDROID) || defined(USE_AURA) | |
124 // RenderWidgetHostViewBase implementation. | |
125 void ShowDisambiguationPopup(const gfx::Rect& rect_pixels, | |
126 const SkBitmap& zoomed_bitmap) override; | |
127 #endif // defined(OS_ANDROID) || defined(USE_AURA) | |
cpu_(ooo_6.6-7.5)
2016/05/03 02:03:22
So also on android? it seems to me we are keeping
Evan Stade
2016/05/03 16:08:09
the implementation for this one was already a no-o
| |
128 | |
129 void LockCompositingSurface() override; | 123 void LockCompositingSurface() override; |
130 void UnlockCompositingSurface() override; | 124 void UnlockCompositingSurface() override; |
131 | 125 |
132 void WheelEventAck(const blink::WebMouseWheelEvent& event, | 126 void WheelEventAck(const blink::WebMouseWheelEvent& event, |
133 InputEventAckState ack_result) override; | 127 InputEventAckState ack_result) override; |
134 | 128 |
135 void GestureEventAck(const blink::WebGestureEvent& event, | 129 void GestureEventAck(const blink::WebGestureEvent& event, |
136 InputEventAckState ack_result) override; | 130 InputEventAckState ack_result) override; |
137 | 131 |
138 protected: | 132 protected: |
(...skipping 13 matching lines...) Expand all Loading... | |
152 // The platform view for this RenderWidgetHostView. | 146 // The platform view for this RenderWidgetHostView. |
153 // RenderWidgetHostViewGuest mostly only cares about stuff related to | 147 // RenderWidgetHostViewGuest mostly only cares about stuff related to |
154 // compositing, the rest are directly forwarded to this |platform_view_|. | 148 // compositing, the rest are directly forwarded to this |platform_view_|. |
155 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; | 149 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; |
156 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 150 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
157 }; | 151 }; |
158 | 152 |
159 } // namespace content | 153 } // namespace content |
160 | 154 |
161 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 155 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |