| 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 #include <queue> | 9 #include <queue> |
| 10 | 10 |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 // Non-virtual methods | 226 // Non-virtual methods |
| 227 void SetContentViewCore(ContentViewCoreImpl* content_view_core); | 227 void SetContentViewCore(ContentViewCoreImpl* content_view_core); |
| 228 SkColor GetCachedBackgroundColor() const; | 228 SkColor GetCachedBackgroundColor() const; |
| 229 void SendKeyEvent(const NativeWebKeyboardEvent& event); | 229 void SendKeyEvent(const NativeWebKeyboardEvent& event); |
| 230 void SendMouseEvent(const blink::WebMouseEvent& event); | 230 void SendMouseEvent(const blink::WebMouseEvent& event); |
| 231 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); | 231 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); |
| 232 void SendGestureEvent(const blink::WebGestureEvent& event); | 232 void SendGestureEvent(const blink::WebGestureEvent& event); |
| 233 | 233 |
| 234 void OnTextInputStateChanged(const ViewHostMsg_TextInputState_Params& params); | 234 void OnTextInputStateChanged(const ViewHostMsg_TextInputState_Params& params); |
| 235 void OnDidChangeBodyBackgroundColor(SkColor color); | 235 void OnDidChangeBodyBackgroundColor(SkColor color); |
| 236 void OnDidOverScrollOnMainThread(gfx::Vector2dF unused_delta, |
| 237 gfx::Vector2dF accumalted_root_overscroll, |
| 238 gfx::Vector2dF flingVelocity, |
| 239 gfx::PointF event_point); |
| 236 void OnStartContentIntent(const GURL& content_url); | 240 void OnStartContentIntent(const GURL& content_url); |
| 237 void OnSetNeedsBeginFrames(bool enabled); | 241 void OnSetNeedsBeginFrames(bool enabled); |
| 238 void OnSmartClipDataExtracted(const base::string16& text, | 242 void OnSmartClipDataExtracted(const base::string16& text, |
| 239 const base::string16& html, | 243 const base::string16& html, |
| 240 const gfx::Rect rect); | 244 const gfx::Rect rect); |
| 241 | 245 |
| 242 bool OnTouchEvent(const ui::MotionEvent& event); | 246 bool OnTouchEvent(const ui::MotionEvent& event); |
| 243 bool OnTouchHandleEvent(const ui::MotionEvent& event); | 247 bool OnTouchHandleEvent(const ui::MotionEvent& event); |
| 244 void ResetGestureDetection(); | 248 void ResetGestureDetection(); |
| 245 void SetDoubleTapSupportEnabled(bool enabled); | 249 void SetDoubleTapSupportEnabled(bool enabled); |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 gfx::Vector2dF last_scroll_offset_; | 436 gfx::Vector2dF last_scroll_offset_; |
| 433 | 437 |
| 434 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 438 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
| 435 | 439 |
| 436 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 440 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 437 }; | 441 }; |
| 438 | 442 |
| 439 } // namespace content | 443 } // namespace content |
| 440 | 444 |
| 441 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 445 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |