| 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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 int GetTouchHandleHeight(); | 257 int GetTouchHandleHeight(); |
| 258 void ResetGestureDetection(); | 258 void ResetGestureDetection(); |
| 259 void SetDoubleTapSupportEnabled(bool enabled); | 259 void SetDoubleTapSupportEnabled(bool enabled); |
| 260 void SetMultiTouchZoomSupportEnabled(bool enabled); | 260 void SetMultiTouchZoomSupportEnabled(bool enabled); |
| 261 | 261 |
| 262 void WasResized(); | 262 void WasResized(); |
| 263 | 263 |
| 264 bool HasValidFrame() const; | 264 bool HasValidFrame() const; |
| 265 | 265 |
| 266 void MoveCaret(const gfx::Point& point); | 266 void MoveCaret(const gfx::Point& point); |
| 267 void ShowContextMenuAtPoint(const gfx::Point& point); | 267 void ShowContextMenuAtTouchHandle(const gfx::Point& point); |
| 268 void DismissTextHandles(); | 268 void DismissTextHandles(); |
| 269 void SetTextHandlesTemporarilyHidden(bool hidden); | 269 void SetTextHandlesTemporarilyHidden(bool hidden); |
| 270 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip); | 270 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip); |
| 271 void OnSelectWordAroundCaretAck(bool did_select, | 271 void OnSelectWordAroundCaretAck(bool did_select, |
| 272 int start_adjust, | 272 int start_adjust, |
| 273 int end_adjust); | 273 int end_adjust); |
| 274 | 274 |
| 275 void SynchronousFrameMetadata(cc::CompositorFrameMetadata frame_metadata); | 275 void SynchronousFrameMetadata(cc::CompositorFrameMetadata frame_metadata); |
| 276 | 276 |
| 277 void SetSynchronousCompositorClient(SynchronousCompositorClient* client); | 277 void SetSynchronousCompositorClient(SynchronousCompositorClient* client); |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 430 base::ObserverList<DestructionObserver> destruction_observers_; | 430 base::ObserverList<DestructionObserver> destruction_observers_; |
| 431 | 431 |
| 432 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 432 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
| 433 | 433 |
| 434 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 434 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 435 }; | 435 }; |
| 436 | 436 |
| 437 } // namespace content | 437 } // namespace content |
| 438 | 438 |
| 439 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 439 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |