| 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 virtual void SetCachedBackgroundColor(SkColor color) OVERRIDE; | 130 virtual void SetCachedBackgroundColor(SkColor color) OVERRIDE; |
| 131 virtual void SetCachedPageScaleFactorLimits(float minimum_scale, | 131 virtual void SetCachedPageScaleFactorLimits(float minimum_scale, |
| 132 float maximum_scale) OVERRIDE; | 132 float maximum_scale) OVERRIDE; |
| 133 virtual void UpdateFrameInfo(const gfx::Vector2d& scroll_offset, | 133 virtual void UpdateFrameInfo(const gfx::Vector2d& scroll_offset, |
| 134 float page_scale_factor, | 134 float page_scale_factor, |
| 135 float min_page_scale_factor, | 135 float min_page_scale_factor, |
| 136 float max_page_scale_factor, | 136 float max_page_scale_factor, |
| 137 const gfx::Size& content_size) OVERRIDE; | 137 const gfx::Size& content_size) OVERRIDE; |
| 138 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, | 138 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, |
| 139 const SkBitmap& zoomed_bitmap) OVERRIDE; | 139 const SkBitmap& zoomed_bitmap) OVERRIDE; |
| 140 virtual SmoothScrollGesture* CreateSmoothScrollGesture( |
| 141 bool scroll_down, int pixels_to_scroll, int mouse_event_x, |
| 142 int mouse_event_y) OVERRIDE; |
| 140 | 143 |
| 141 // Non-virtual methods | 144 // Non-virtual methods |
| 142 void SetContentViewCore(ContentViewCoreImpl* content_view_core); | 145 void SetContentViewCore(ContentViewCoreImpl* content_view_core); |
| 143 SkColor GetCachedBackgroundColor() const; | 146 SkColor GetCachedBackgroundColor() const; |
| 144 void SendKeyEvent(const NativeWebKeyboardEvent& event); | 147 void SendKeyEvent(const NativeWebKeyboardEvent& event); |
| 145 void SendTouchEvent(const WebKit::WebTouchEvent& event); | 148 void SendTouchEvent(const WebKit::WebTouchEvent& event); |
| 146 void SendMouseEvent(const WebKit::WebMouseEvent& event); | 149 void SendMouseEvent(const WebKit::WebMouseEvent& event); |
| 147 void SendMouseWheelEvent(const WebKit::WebMouseWheelEvent& event); | 150 void SendMouseWheelEvent(const WebKit::WebMouseWheelEvent& event); |
| 148 void SendGestureEvent(const WebKit::WebGestureEvent& event); | 151 void SendGestureEvent(const WebKit::WebGestureEvent& event); |
| 149 | 152 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 | 197 |
| 195 // The mailbox name of the previously received frame. | 198 // The mailbox name of the previously received frame. |
| 196 std::string current_mailbox_name_; | 199 std::string current_mailbox_name_; |
| 197 | 200 |
| 198 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 201 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 199 }; | 202 }; |
| 200 | 203 |
| 201 } // namespace content | 204 } // namespace content |
| 202 | 205 |
| 203 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 206 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |