OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 6 #define CONTENT_BROWSER_RENDERER_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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) OVERRIDE; | 154 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) OVERRIDE; |
155 virtual void SetWindowVisibility(bool visible) OVERRIDE; | 155 virtual void SetWindowVisibility(bool visible) OVERRIDE; |
156 virtual void WindowFrameChanged() OVERRIDE; | 156 virtual void WindowFrameChanged() OVERRIDE; |
157 virtual void ShowDefinitionForSelection() OVERRIDE; | 157 virtual void ShowDefinitionForSelection() OVERRIDE; |
158 virtual bool SupportsSpeech() const OVERRIDE; | 158 virtual bool SupportsSpeech() const OVERRIDE; |
159 virtual void SpeakSelection() OVERRIDE; | 159 virtual void SpeakSelection() OVERRIDE; |
160 virtual bool IsSpeaking() const OVERRIDE; | 160 virtual bool IsSpeaking() const OVERRIDE; |
161 virtual void StopSpeaking() OVERRIDE; | 161 virtual void StopSpeaking() OVERRIDE; |
162 | 162 |
163 // RenderWidgetHostViewPort implementation. | 163 // RenderWidgetHostViewPort implementation. |
164 virtual void AboutToWaitForBackingStoreMsg() OVERRIDE; | |
165 virtual bool PostProcessEventForPluginIme( | 164 virtual bool PostProcessEventForPluginIme( |
166 const NativeWebKeyboardEvent& event) OVERRIDE; | 165 const NativeWebKeyboardEvent& event) OVERRIDE; |
167 #endif // defined(OS_MACOSX) | 166 #endif // defined(OS_MACOSX) |
168 | 167 |
169 #if defined(OS_ANDROID) | 168 #if defined(OS_ANDROID) |
170 // RenderWidgetHostViewPort implementation. | 169 // RenderWidgetHostViewPort implementation. |
171 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, | 170 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, |
172 const SkBitmap& zoomed_bitmap) OVERRIDE; | 171 const SkBitmap& zoomed_bitmap) OVERRIDE; |
173 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE; | 172 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE; |
174 #endif // defined(OS_ANDROID) | 173 #endif // defined(OS_ANDROID) |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 RenderWidgetHostViewPort* platform_view_; | 216 RenderWidgetHostViewPort* platform_view_; |
218 #if defined(OS_WIN) || defined(USE_AURA) | 217 #if defined(OS_WIN) || defined(USE_AURA) |
219 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 218 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
220 #endif // defined(OS_WIN) || defined(USE_AURA) | 219 #endif // defined(OS_WIN) || defined(USE_AURA) |
221 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 220 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
222 }; | 221 }; |
223 | 222 |
224 } // namespace content | 223 } // namespace content |
225 | 224 |
226 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 225 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |