| 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 const ui::LatencyInfo& latency) override; | 105 const ui::LatencyInfo& latency) override; |
| 106 | 106 |
| 107 bool LockMouse() override; | 107 bool LockMouse() override; |
| 108 void UnlockMouse() override; | 108 void UnlockMouse() override; |
| 109 void GetScreenInfo(blink::WebScreenInfo* results) override; | 109 void GetScreenInfo(blink::WebScreenInfo* results) override; |
| 110 bool GetScreenColorProfile(std::vector<char>* color_profile) override; | 110 bool GetScreenColorProfile(std::vector<char>* color_profile) override; |
| 111 | 111 |
| 112 #if defined(OS_MACOSX) | 112 #if defined(OS_MACOSX) |
| 113 // RenderWidgetHostView implementation. | 113 // RenderWidgetHostView implementation. |
| 114 void SetActive(bool active) override; | 114 void SetActive(bool active) override; |
| 115 void SetWindowVisibility(bool visible) override; | |
| 116 void WindowFrameChanged() override; | |
| 117 void ShowDefinitionForSelection() override; | 115 void ShowDefinitionForSelection() override; |
| 118 bool SupportsSpeech() const override; | 116 bool SupportsSpeech() const override; |
| 119 void SpeakSelection() override; | 117 void SpeakSelection() override; |
| 120 bool IsSpeaking() const override; | 118 bool IsSpeaking() const override; |
| 121 void StopSpeaking() override; | 119 void StopSpeaking() override; |
| 122 | |
| 123 // RenderWidgetHostViewBase implementation. | |
| 124 bool PostProcessEventForPluginIme( | |
| 125 const NativeWebKeyboardEvent& event) override; | |
| 126 #endif // defined(OS_MACOSX) | 120 #endif // defined(OS_MACOSX) |
| 127 | 121 |
| 128 #if defined(OS_ANDROID) || defined(USE_AURA) | 122 #if defined(OS_ANDROID) || defined(USE_AURA) |
| 129 // RenderWidgetHostViewBase implementation. | 123 // RenderWidgetHostViewBase implementation. |
| 130 void ShowDisambiguationPopup(const gfx::Rect& rect_pixels, | 124 void ShowDisambiguationPopup(const gfx::Rect& rect_pixels, |
| 131 const SkBitmap& zoomed_bitmap) override; | 125 const SkBitmap& zoomed_bitmap) override; |
| 132 #endif // defined(OS_ANDROID) || defined(USE_AURA) | 126 #endif // defined(OS_ANDROID) || defined(USE_AURA) |
| 133 | 127 |
| 134 void LockCompositingSurface() override; | 128 void LockCompositingSurface() override; |
| 135 void UnlockCompositingSurface() override; | 129 void UnlockCompositingSurface() override; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 160 // The platform view for this RenderWidgetHostView. | 154 // The platform view for this RenderWidgetHostView. |
| 161 // RenderWidgetHostViewGuest mostly only cares about stuff related to | 155 // RenderWidgetHostViewGuest mostly only cares about stuff related to |
| 162 // compositing, the rest are directly forwared to this |platform_view_|. | 156 // compositing, the rest are directly forwared to this |platform_view_|. |
| 163 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; | 157 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; |
| 164 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 158 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
| 165 }; | 159 }; |
| 166 | 160 |
| 167 } // namespace content | 161 } // namespace content |
| 168 | 162 |
| 169 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 163 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
| OLD | NEW |