| 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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 ime_adapter_android_ = ime_adapter; | 246 ime_adapter_android_ = ime_adapter; |
| 247 } | 247 } |
| 248 void set_selection_popup_controller(SelectionPopupController* controller) { | 248 void set_selection_popup_controller(SelectionPopupController* controller) { |
| 249 selection_popup_controller_ = controller; | 249 selection_popup_controller_ = controller; |
| 250 } | 250 } |
| 251 | 251 |
| 252 base::WeakPtr<RenderWidgetHostViewAndroid> GetWeakPtrAndroid(); | 252 base::WeakPtr<RenderWidgetHostViewAndroid> GetWeakPtrAndroid(); |
| 253 | 253 |
| 254 bool OnTouchEvent(const ui::MotionEvent& event); | 254 bool OnTouchEvent(const ui::MotionEvent& event); |
| 255 bool OnTouchHandleEvent(const ui::MotionEvent& event); | 255 bool OnTouchHandleEvent(const ui::MotionEvent& event); |
| 256 int GetTouchHandleHeight(); |
| 256 void ResetGestureDetection(); | 257 void ResetGestureDetection(); |
| 257 void SetDoubleTapSupportEnabled(bool enabled); | 258 void SetDoubleTapSupportEnabled(bool enabled); |
| 258 void SetMultiTouchZoomSupportEnabled(bool enabled); | 259 void SetMultiTouchZoomSupportEnabled(bool enabled); |
| 259 | 260 |
| 260 void WasResized(); | 261 void WasResized(); |
| 261 | 262 |
| 262 bool HasValidFrame() const; | 263 bool HasValidFrame() const; |
| 263 | 264 |
| 264 void MoveCaret(const gfx::Point& point); | 265 void MoveCaret(const gfx::Point& point); |
| 265 void ShowContextMenuAtPoint(const gfx::Point& point); | 266 void ShowContextMenuAtPoint(const gfx::Point& point); |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 425 base::ObserverList<DestructionObserver> destruction_observers_; | 426 base::ObserverList<DestructionObserver> destruction_observers_; |
| 426 | 427 |
| 427 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 428 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
| 428 | 429 |
| 429 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 430 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 430 }; | 431 }; |
| 431 | 432 |
| 432 } // namespace content | 433 } // namespace content |
| 433 | 434 |
| 434 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 435 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |