| 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 #if defined(OS_MACOSX) | 110 #if defined(OS_MACOSX) |
| 111 // RenderWidgetHostView implementation. | 111 // RenderWidgetHostView implementation. |
| 112 void SetActive(bool active) override; | 112 void SetActive(bool active) override; |
| 113 void ShowDefinitionForSelection() override; | 113 void ShowDefinitionForSelection() override; |
| 114 bool SupportsSpeech() const override; | 114 bool SupportsSpeech() const override; |
| 115 void SpeakSelection() override; | 115 void SpeakSelection() override; |
| 116 bool IsSpeaking() const override; | 116 bool IsSpeaking() const override; |
| 117 void StopSpeaking() override; | 117 void StopSpeaking() override; |
| 118 #endif // defined(OS_MACOSX) | 118 #endif // defined(OS_MACOSX) |
| 119 | 119 |
| 120 #if defined(OS_ANDROID) || defined(USE_AURA) | |
| 121 // RenderWidgetHostViewBase implementation. | |
| 122 void ShowDisambiguationPopup(const gfx::Rect& rect_pixels, | |
| 123 const SkBitmap& zoomed_bitmap) override; | |
| 124 #endif // defined(OS_ANDROID) || defined(USE_AURA) | |
| 125 | |
| 126 void LockCompositingSurface() override; | 120 void LockCompositingSurface() override; |
| 127 void UnlockCompositingSurface() override; | 121 void UnlockCompositingSurface() override; |
| 128 | 122 |
| 129 void WheelEventAck(const blink::WebMouseWheelEvent& event, | 123 void WheelEventAck(const blink::WebMouseWheelEvent& event, |
| 130 InputEventAckState ack_result) override; | 124 InputEventAckState ack_result) override; |
| 131 | 125 |
| 132 void GestureEventAck(const blink::WebGestureEvent& event, | 126 void GestureEventAck(const blink::WebGestureEvent& event, |
| 133 InputEventAckState ack_result) override; | 127 InputEventAckState ack_result) override; |
| 134 | 128 |
| 135 protected: | 129 protected: |
| (...skipping 13 matching lines...) Expand all Loading... |
| 149 // The platform view for this RenderWidgetHostView. | 143 // The platform view for this RenderWidgetHostView. |
| 150 // RenderWidgetHostViewGuest mostly only cares about stuff related to | 144 // RenderWidgetHostViewGuest mostly only cares about stuff related to |
| 151 // compositing, the rest are directly forwarded to this |platform_view_|. | 145 // compositing, the rest are directly forwarded to this |platform_view_|. |
| 152 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; | 146 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; |
| 153 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 147 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
| 154 }; | 148 }; |
| 155 | 149 |
| 156 } // namespace content | 150 } // namespace content |
| 157 | 151 |
| 158 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 152 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
| OLD | NEW |