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