| 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 <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 virtual bool SupportsSpeech() const OVERRIDE; | 125 virtual bool SupportsSpeech() const OVERRIDE; |
| 126 virtual void SpeakSelection() OVERRIDE; | 126 virtual void SpeakSelection() OVERRIDE; |
| 127 virtual bool IsSpeaking() const OVERRIDE; | 127 virtual bool IsSpeaking() const OVERRIDE; |
| 128 virtual void StopSpeaking() OVERRIDE; | 128 virtual void StopSpeaking() OVERRIDE; |
| 129 | 129 |
| 130 // RenderWidgetHostViewBase implementation. | 130 // RenderWidgetHostViewBase implementation. |
| 131 virtual bool PostProcessEventForPluginIme( | 131 virtual bool PostProcessEventForPluginIme( |
| 132 const NativeWebKeyboardEvent& event) OVERRIDE; | 132 const NativeWebKeyboardEvent& event) OVERRIDE; |
| 133 #endif // defined(OS_MACOSX) | 133 #endif // defined(OS_MACOSX) |
| 134 | 134 |
| 135 #if defined(OS_ANDROID) || defined(TOOLKIT_VIEWS) |
| 136 // RenderWidgetHostViewBase implementation. |
| 137 virtual void ShowDisambiguationPopup(const gfx::Rect& rect_pixels, |
| 138 const SkBitmap& zoomed_bitmap) OVERRIDE; |
| 139 #endif // defined(OS_ANDROID) || defined(TOOLKIT_VIEWS) |
| 140 |
| 135 #if defined(OS_ANDROID) | 141 #if defined(OS_ANDROID) |
| 136 // RenderWidgetHostViewBase implementation. | |
| 137 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, | |
| 138 const SkBitmap& zoomed_bitmap) OVERRIDE; | |
| 139 virtual void LockCompositingSurface() OVERRIDE; | 142 virtual void LockCompositingSurface() OVERRIDE; |
| 140 virtual void UnlockCompositingSurface() OVERRIDE; | 143 virtual void UnlockCompositingSurface() OVERRIDE; |
| 141 #endif // defined(OS_ANDROID) | 144 #endif // defined(OS_ANDROID) |
| 142 | 145 |
| 143 #if defined(OS_WIN) | 146 #if defined(OS_WIN) |
| 144 virtual void SetParentNativeViewAccessible( | 147 virtual void SetParentNativeViewAccessible( |
| 145 gfx::NativeViewAccessible accessible_parent) OVERRIDE; | 148 gfx::NativeViewAccessible accessible_parent) OVERRIDE; |
| 146 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const OVERRIDE; | 149 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const OVERRIDE; |
| 147 #endif | 150 #endif |
| 148 | 151 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 RenderWidgetHostViewBase* platform_view_; | 186 RenderWidgetHostViewBase* platform_view_; |
| 184 #if defined(USE_AURA) | 187 #if defined(USE_AURA) |
| 185 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 188 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
| 186 #endif | 189 #endif |
| 187 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 190 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
| 188 }; | 191 }; |
| 189 | 192 |
| 190 } // namespace content | 193 } // namespace content |
| 191 | 194 |
| 192 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 195 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
| OLD | NEW |