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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 void SetDoubleTapSupportEnabled(bool enabled); | 230 void SetDoubleTapSupportEnabled(bool enabled); |
231 void SetMultiTouchZoomSupportEnabled(bool enabled); | 231 void SetMultiTouchZoomSupportEnabled(bool enabled); |
232 | 232 |
233 long GetNativeImeAdapter(); | 233 long GetNativeImeAdapter(); |
234 | 234 |
235 void WasResized(); | 235 void WasResized(); |
236 | 236 |
237 bool HasValidFrame() const; | 237 bool HasValidFrame() const; |
238 | 238 |
239 void MoveCaret(const gfx::Point& point); | 239 void MoveCaret(const gfx::Point& point); |
| 240 void ShowContextMenuAtPoint(const gfx::Point& point); |
240 void DismissTextHandles(); | 241 void DismissTextHandles(); |
241 void SetTextHandlesTemporarilyHidden(bool hidden); | 242 void SetTextHandlesTemporarilyHidden(bool hidden); |
242 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip); | 243 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip); |
243 | 244 |
244 void SynchronousFrameMetadata(cc::CompositorFrameMetadata frame_metadata); | 245 void SynchronousFrameMetadata(cc::CompositorFrameMetadata frame_metadata); |
245 | 246 |
246 void SetSynchronousCompositorClient(SynchronousCompositorClient* client); | 247 void SetSynchronousCompositorClient(SynchronousCompositorClient* client); |
247 | 248 |
248 SynchronousCompositorClient* synchronous_compositor_client() const { | 249 SynchronousCompositorClient* synchronous_compositor_client() const { |
249 return synchronous_compositor_client_; | 250 return synchronous_compositor_client_; |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 float prev_bottom_shown_pix_; | 401 float prev_bottom_shown_pix_; |
401 | 402 |
402 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 403 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
403 | 404 |
404 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 405 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
405 }; | 406 }; |
406 | 407 |
407 } // namespace content | 408 } // namespace content |
408 | 409 |
409 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 410 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |