| 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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; | 113 bool SupportsSpeech() const override; |
| 114 void SpeakSelection() override; | 114 void SpeakSelection() override; |
| 115 bool IsSpeaking() const override; | 115 bool IsSpeaking() const override; |
| 116 void StopSpeaking() override; | 116 void StopSpeaking() override; |
| 117 #endif // defined(OS_MACOSX) | 117 #endif // defined(OS_MACOSX) |
| 118 | 118 |
| 119 void LockCompositingSurface() override; | |
| 120 void UnlockCompositingSurface() override; | |
| 121 | |
| 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; |
| 127 | 124 |
| 128 bool IsRenderWidgetHostViewGuest() override; | 125 bool IsRenderWidgetHostViewGuest() override; |
| 129 RenderWidgetHostViewBase* GetOwnerRenderWidgetHostView() const; | 126 RenderWidgetHostViewBase* GetOwnerRenderWidgetHostView() const; |
| 130 | 127 |
| 131 protected: | 128 protected: |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 // The platform view for this RenderWidgetHostView. | 161 // The platform view for this RenderWidgetHostView. |
| 165 // RenderWidgetHostViewGuest mostly only cares about stuff related to | 162 // RenderWidgetHostViewGuest mostly only cares about stuff related to |
| 166 // compositing, the rest are directly forwarded to this |platform_view_|. | 163 // compositing, the rest are directly forwarded to this |platform_view_|. |
| 167 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; | 164 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; |
| 168 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 165 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
| 169 }; | 166 }; |
| 170 | 167 |
| 171 } // namespace content | 168 } // namespace content |
| 172 | 169 |
| 173 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 170 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
| OLD | NEW |