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 | 154 |
155 // RenderWidgetHostViewPort implementation. | 155 // RenderWidgetHostViewPort implementation. |
156 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, | 156 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, |
157 const SkBitmap& zoomed_bitmap) OVERRIDE; | 157 const SkBitmap& zoomed_bitmap) OVERRIDE; |
158 virtual void SetCachedPageScaleFactorLimits(float minimum_scale, | 158 virtual void SetCachedPageScaleFactorLimits(float minimum_scale, |
159 float maximum_scale) OVERRIDE; | 159 float maximum_scale) OVERRIDE; |
160 virtual void UpdateFrameInfo(const gfx::Vector2d& scroll_offset, | 160 virtual void UpdateFrameInfo(const gfx::Vector2d& scroll_offset, |
161 float page_scale_factor, | 161 float page_scale_factor, |
162 float min_page_scale_factor, | 162 float min_page_scale_factor, |
163 float max_page_scale_factor, | 163 float max_page_scale_factor, |
164 const gfx::Size& content_size) OVERRIDE; | 164 const gfx::Size& content_size, |
| 165 const gfx::PointF& controls_offset, |
| 166 const gfx::PointF& content_offset) OVERRIDE; |
165 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE; | 167 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE; |
166 #endif // defined(OS_ANDROID) | 168 #endif // defined(OS_ANDROID) |
167 | 169 |
168 #if defined(TOOLKIT_GTK) | 170 #if defined(TOOLKIT_GTK) |
169 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; | 171 virtual GdkEventButton* GetLastMouseDown() OVERRIDE; |
170 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; | 172 virtual gfx::NativeView BuildInputMethodsGtkMenu() OVERRIDE; |
171 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE; | 173 virtual void CreatePluginContainer(gfx::PluginWindowHandle id) OVERRIDE; |
172 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE; | 174 virtual void DestroyPluginContainer(gfx::PluginWindowHandle id) OVERRIDE; |
173 #endif // defined(TOOLKIT_GTK) | 175 #endif // defined(TOOLKIT_GTK) |
174 | 176 |
(...skipping 16 matching lines...) Expand all Loading... |
191 | 193 |
192 BrowserPluginGuest *guest_; | 194 BrowserPluginGuest *guest_; |
193 gfx::Size size_; | 195 gfx::Size size_; |
194 | 196 |
195 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 197 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
196 }; | 198 }; |
197 | 199 |
198 } // namespace content | 200 } // namespace content |
199 | 201 |
200 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 202 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |