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