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