| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 const cc::BeginFrameArgs& LastUsedBeginFrameArgs() const override; | 215 const cc::BeginFrameArgs& LastUsedBeginFrameArgs() const override; |
| 216 void OnBeginFrameSourcePausedChanged(bool paused) override; | 216 void OnBeginFrameSourcePausedChanged(bool paused) override; |
| 217 | 217 |
| 218 // Non-virtual methods | 218 // Non-virtual methods |
| 219 void SetContentViewCore(ContentViewCoreImpl* content_view_core); | 219 void SetContentViewCore(ContentViewCoreImpl* content_view_core); |
| 220 SkColor GetCachedBackgroundColor() const; | 220 SkColor GetCachedBackgroundColor() const; |
| 221 void SendKeyEvent(const NativeWebKeyboardEvent& event); | 221 void SendKeyEvent(const NativeWebKeyboardEvent& event); |
| 222 void SendMouseEvent(const ui::MotionEventAndroid&, int action_button); | 222 void SendMouseEvent(const ui::MotionEventAndroid&, int action_button); |
| 223 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); | 223 void SendMouseWheelEvent(const blink::WebMouseWheelEvent& event); |
| 224 void SendGestureEvent(const blink::WebGestureEvent& event); | 224 void SendGestureEvent(const blink::WebGestureEvent& event); |
| 225 void ResolveTapDisambiguation(double timestamp_seconds, |
| 226 gfx::Point tap_viewport_offset, |
| 227 bool is_long_press); |
| 225 | 228 |
| 226 void OnStartContentIntent(const GURL& content_url, bool is_main_frame); | 229 void OnStartContentIntent(const GURL& content_url, bool is_main_frame); |
| 227 | 230 |
| 228 bool OnTouchEvent(const ui::MotionEvent& event); | 231 bool OnTouchEvent(const ui::MotionEvent& event); |
| 229 bool OnTouchHandleEvent(const ui::MotionEvent& event); | 232 bool OnTouchHandleEvent(const ui::MotionEvent& event); |
| 230 void ResetGestureDetection(); | 233 void ResetGestureDetection(); |
| 231 void SetDoubleTapSupportEnabled(bool enabled); | 234 void SetDoubleTapSupportEnabled(bool enabled); |
| 232 void SetMultiTouchZoomSupportEnabled(bool enabled); | 235 void SetMultiTouchZoomSupportEnabled(bool enabled); |
| 233 | 236 |
| 234 long GetNativeImeAdapter(); | 237 long GetNativeImeAdapter(); |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 float prev_bottom_shown_pix_; | 406 float prev_bottom_shown_pix_; |
| 404 | 407 |
| 405 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 408 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
| 406 | 409 |
| 407 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 410 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 408 }; | 411 }; |
| 409 | 412 |
| 410 } // namespace content | 413 } // namespace content |
| 411 | 414 |
| 412 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 415 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |