| 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 #if defined(OS_ANDROID) | 151 #if defined(OS_ANDROID) |
| 152 // RenderWidgetHostViewPort implementation. | 152 // RenderWidgetHostViewPort implementation. |
| 153 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, | 153 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, |
| 154 const SkBitmap& zoomed_bitmap) OVERRIDE; | 154 const SkBitmap& zoomed_bitmap) OVERRIDE; |
| 155 virtual void UpdateFrameInfo(const gfx::Vector2dF& scroll_offset, | 155 virtual void UpdateFrameInfo(const gfx::Vector2dF& scroll_offset, |
| 156 float page_scale_factor, | 156 float page_scale_factor, |
| 157 const gfx::Vector2dF& page_scale_factor_limits, | 157 const gfx::Vector2dF& page_scale_factor_limits, |
| 158 const gfx::SizeF& content_size, | 158 const gfx::SizeF& content_size, |
| 159 const gfx::SizeF& viewport_size, | 159 const gfx::SizeF& viewport_size, |
| 160 const gfx::Vector2dF& controls_offset, | 160 const gfx::Vector2dF& controls_offset, |
| 161 const gfx::Vector2dF& content_offset) OVERRIDE; | 161 const gfx::Vector2dF& content_offset, |
| 162 float overdraw_bottom_height) OVERRIDE; |
| 162 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE; | 163 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE; |
| 163 #endif // defined(OS_ANDROID) | 164 #endif // defined(OS_ANDROID) |
| 164 | 165 |
| 165 #if defined(TOOLKIT_GTK) | 166 #if defined(TOOLKIT_GTK) |
| 166 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; | 167 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; |
| 167 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; | 168 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; |
| 168 #endif // defined(TOOLKIT_GTK) | 169 #endif // defined(TOOLKIT_GTK) |
| 169 | 170 |
| 170 #if defined(OS_WIN) && !defined(USE_AURA) | 171 #if defined(OS_WIN) && !defined(USE_AURA) |
| 171 virtual void WillWmDestroy() OVERRIDE; | 172 virtual void WillWmDestroy() OVERRIDE; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 187 // RenderWidgetHostViewGuest mostly only cares about stuff related to | 188 // RenderWidgetHostViewGuest mostly only cares about stuff related to |
| 188 // compositing, the rest are directly forwared to this |platform_view_|. | 189 // compositing, the rest are directly forwared to this |platform_view_|. |
| 189 RenderWidgetHostViewPort* platform_view_; | 190 RenderWidgetHostViewPort* platform_view_; |
| 190 | 191 |
| 191 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 192 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
| 192 }; | 193 }; |
| 193 | 194 |
| 194 } // namespace content | 195 } // namespace content |
| 195 | 196 |
| 196 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 197 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
| OLD | NEW |