| 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 // RenderWidgetHostViewPort implementation. | 158 // RenderWidgetHostViewPort implementation. |
| 159 virtual void AboutToWaitForBackingStoreMsg() OVERRIDE; | 159 virtual void AboutToWaitForBackingStoreMsg() OVERRIDE; |
| 160 virtual bool PostProcessEventForPluginIme( | 160 virtual bool PostProcessEventForPluginIme( |
| 161 const NativeWebKeyboardEvent& event) OVERRIDE; | 161 const NativeWebKeyboardEvent& event) OVERRIDE; |
| 162 #endif // defined(OS_MACOSX) | 162 #endif // defined(OS_MACOSX) |
| 163 | 163 |
| 164 #if defined(OS_ANDROID) | 164 #if defined(OS_ANDROID) |
| 165 // RenderWidgetHostViewPort implementation. | 165 // RenderWidgetHostViewPort implementation. |
| 166 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, | 166 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, |
| 167 const SkBitmap& zoomed_bitmap) OVERRIDE; | 167 const SkBitmap& zoomed_bitmap) OVERRIDE; |
| 168 virtual void UpdateFrameInfo(const gfx::Vector2dF& scroll_offset, | |
| 169 float page_scale_factor, | |
| 170 const gfx::Vector2dF& page_scale_factor_limits, | |
| 171 const gfx::SizeF& content_size, | |
| 172 const gfx::SizeF& viewport_size, | |
| 173 const gfx::Vector2dF& controls_offset, | |
| 174 const gfx::Vector2dF& content_offset, | |
| 175 float overdraw_bottom_height) OVERRIDE; | |
| 176 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE; | 168 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE; |
| 177 #endif // defined(OS_ANDROID) | 169 #endif // defined(OS_ANDROID) |
| 178 | 170 |
| 179 #if defined(TOOLKIT_GTK) | 171 #if defined(TOOLKIT_GTK) |
| 180 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; | 172 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; |
| 181 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; | 173 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; |
| 182 #endif // defined(TOOLKIT_GTK) | 174 #endif // defined(TOOLKIT_GTK) |
| 183 | 175 |
| 184 #if defined(OS_WIN) && !defined(USE_AURA) | 176 #if defined(OS_WIN) && !defined(USE_AURA) |
| 185 virtual void WillWmDestroy() OVERRIDE; | 177 virtual void WillWmDestroy() OVERRIDE; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 214 RenderWidgetHostViewPort* platform_view_; | 206 RenderWidgetHostViewPort* platform_view_; |
| 215 #if defined(OS_WIN) || defined(USE_AURA) | 207 #if defined(OS_WIN) || defined(USE_AURA) |
| 216 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 208 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
| 217 #endif // defined(OS_WIN) || defined(USE_AURA) | 209 #endif // defined(OS_WIN) || defined(USE_AURA) |
| 218 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 210 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
| 219 }; | 211 }; |
| 220 | 212 |
| 221 } // namespace content | 213 } // namespace content |
| 222 | 214 |
| 223 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 215 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
| OLD | NEW |