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_ANDROID_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 virtual void UnlockMouse() OVERRIDE; | 129 virtual void UnlockMouse() OVERRIDE; |
130 virtual void StartContentIntent(const GURL& content_url) OVERRIDE; | 130 virtual void StartContentIntent(const GURL& content_url) OVERRIDE; |
131 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE; | 131 virtual void HasTouchEventHandlers(bool need_touch_events) OVERRIDE; |
132 virtual void SetCachedBackgroundColor(SkColor color) OVERRIDE; | 132 virtual void SetCachedBackgroundColor(SkColor color) OVERRIDE; |
133 virtual void SetCachedPageScaleFactorLimits(float minimum_scale, | 133 virtual void SetCachedPageScaleFactorLimits(float minimum_scale, |
134 float maximum_scale) OVERRIDE; | 134 float maximum_scale) OVERRIDE; |
135 virtual void UpdateFrameInfo(const gfx::Vector2d& scroll_offset, | 135 virtual void UpdateFrameInfo(const gfx::Vector2d& scroll_offset, |
136 float page_scale_factor, | 136 float page_scale_factor, |
137 float min_page_scale_factor, | 137 float min_page_scale_factor, |
138 float max_page_scale_factor, | 138 float max_page_scale_factor, |
139 const gfx::Size& content_size) OVERRIDE; | 139 const gfx::Size& content_size, |
| 140 const gfx::PointF& controls_offset, |
| 141 const gfx::PointF& content_offset) OVERRIDE; |
140 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, | 142 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, |
141 const SkBitmap& zoomed_bitmap) OVERRIDE; | 143 const SkBitmap& zoomed_bitmap) OVERRIDE; |
142 | 144 |
143 // Non-virtual methods | 145 // Non-virtual methods |
144 void SetContentViewCore(ContentViewCoreImpl* content_view_core); | 146 void SetContentViewCore(ContentViewCoreImpl* content_view_core); |
145 SkColor GetCachedBackgroundColor() const; | 147 SkColor GetCachedBackgroundColor() const; |
146 void SendKeyEvent(const NativeWebKeyboardEvent& event); | 148 void SendKeyEvent(const NativeWebKeyboardEvent& event); |
147 void SendTouchEvent(const WebKit::WebTouchEvent& event); | 149 void SendTouchEvent(const WebKit::WebTouchEvent& event); |
148 void SendMouseEvent(const WebKit::WebMouseEvent& event); | 150 void SendMouseEvent(const WebKit::WebMouseEvent& event); |
149 void SendMouseWheelEvent(const WebKit::WebMouseWheelEvent& event); | 151 void SendMouseWheelEvent(const WebKit::WebMouseWheelEvent& event); |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 | 201 |
200 // The identifier of the previously received frame | 202 // The identifier of the previously received frame |
201 uint64 current_buffer_id_; | 203 uint64 current_buffer_id_; |
202 | 204 |
203 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 205 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
204 }; | 206 }; |
205 | 207 |
206 } // namespace content | 208 } // namespace content |
207 | 209 |
208 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 210 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |