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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 const SkBitmap& zoomed_bitmap) OVERRIDE; | 167 const SkBitmap& zoomed_bitmap) OVERRIDE; |
168 virtual void UpdateFrameInfo(const gfx::Vector2dF& scroll_offset, | 168 virtual void UpdateFrameInfo(const gfx::Vector2dF& scroll_offset, |
169 float page_scale_factor, | 169 float page_scale_factor, |
170 const gfx::Vector2dF& page_scale_factor_limits, | 170 const gfx::Vector2dF& page_scale_factor_limits, |
171 const gfx::SizeF& content_size, | 171 const gfx::SizeF& content_size, |
172 const gfx::SizeF& viewport_size, | 172 const gfx::SizeF& viewport_size, |
173 const gfx::Vector2dF& controls_offset, | 173 const gfx::Vector2dF& controls_offset, |
174 const gfx::Vector2dF& content_offset, | 174 const gfx::Vector2dF& content_offset, |
175 float overdraw_bottom_height) OVERRIDE; | 175 float overdraw_bottom_height) OVERRIDE; |
176 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE; | 176 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE; |
| 177 virtual void SetVSyncNotificationEnabled(bool enabled) OVERRIDE; |
177 #endif // defined(OS_ANDROID) | 178 #endif // defined(OS_ANDROID) |
178 | 179 |
179 #if defined(TOOLKIT_GTK) | 180 #if defined(TOOLKIT_GTK) |
180 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; | 181 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; |
181 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; | 182 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; |
182 #endif // defined(TOOLKIT_GTK) | 183 #endif // defined(TOOLKIT_GTK) |
183 | 184 |
184 #if defined(OS_WIN) && !defined(USE_AURA) | 185 #if defined(OS_WIN) && !defined(USE_AURA) |
185 virtual void WillWmDestroy() OVERRIDE; | 186 virtual void WillWmDestroy() OVERRIDE; |
186 #endif // defined(OS_WIN) && !defined(USE_AURA) | 187 #endif // defined(OS_WIN) && !defined(USE_AURA) |
(...skipping 27 matching lines...) Expand all Loading... |
214 RenderWidgetHostViewPort* platform_view_; | 215 RenderWidgetHostViewPort* platform_view_; |
215 #if defined(OS_WIN) || defined(USE_AURA) | 216 #if defined(OS_WIN) || defined(USE_AURA) |
216 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 217 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
217 #endif // defined(OS_WIN) || defined(USE_AURA) | 218 #endif // defined(OS_WIN) || defined(USE_AURA) |
218 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 219 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
219 }; | 220 }; |
220 | 221 |
221 } // namespace content | 222 } // namespace content |
222 | 223 |
223 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 224 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |