| 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 cc::CompositorFrame frame) override; | 96 cc::CompositorFrame frame) override; |
| 97 #if defined(USE_AURA) | 97 #if defined(USE_AURA) |
| 98 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, | 98 void ProcessAckedTouchEvent(const TouchEventWithLatencyInfo& touch, |
| 99 InputEventAckState ack_result) override; | 99 InputEventAckState ack_result) override; |
| 100 #endif | 100 #endif |
| 101 void ProcessTouchEvent(const blink::WebTouchEvent& event, | 101 void ProcessTouchEvent(const blink::WebTouchEvent& event, |
| 102 const ui::LatencyInfo& latency) override; | 102 const ui::LatencyInfo& latency) override; |
| 103 | 103 |
| 104 bool LockMouse() override; | 104 bool LockMouse() override; |
| 105 void UnlockMouse() override; | 105 void UnlockMouse() override; |
| 106 void GetScreenInfo(blink::WebScreenInfo* results) override; | |
| 107 | 106 |
| 108 #if defined(OS_MACOSX) | 107 #if defined(OS_MACOSX) |
| 109 // RenderWidgetHostView implementation. | 108 // RenderWidgetHostView implementation. |
| 110 void SetActive(bool active) override; | 109 void SetActive(bool active) override; |
| 111 void ShowDefinitionForSelection() override; | 110 void ShowDefinitionForSelection() override; |
| 112 bool SupportsSpeech() const override; | 111 bool SupportsSpeech() const override; |
| 113 void SpeakSelection() override; | 112 void SpeakSelection() override; |
| 114 bool IsSpeaking() const override; | 113 bool IsSpeaking() const override; |
| 115 void StopSpeaking() override; | 114 void StopSpeaking() override; |
| 116 #endif // defined(OS_MACOSX) | 115 #endif // defined(OS_MACOSX) |
| (...skipping 24 matching lines...) Expand all Loading... |
| 141 // The platform view for this RenderWidgetHostView. | 140 // The platform view for this RenderWidgetHostView. |
| 142 // RenderWidgetHostViewGuest mostly only cares about stuff related to | 141 // RenderWidgetHostViewGuest mostly only cares about stuff related to |
| 143 // compositing, the rest are directly forwarded to this |platform_view_|. | 142 // compositing, the rest are directly forwarded to this |platform_view_|. |
| 144 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; | 143 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; |
| 145 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 144 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
| 146 }; | 145 }; |
| 147 | 146 |
| 148 } // namespace content | 147 } // namespace content |
| 149 | 148 |
| 150 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 149 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
| OLD | NEW |