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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
259 | 259 |
260 void WasResized(); | 260 void WasResized(); |
261 | 261 |
262 bool HasValidFrame() const; | 262 bool HasValidFrame() const; |
263 | 263 |
264 void MoveCaret(const gfx::Point& point); | 264 void MoveCaret(const gfx::Point& point); |
265 void ShowContextMenuAtPoint(const gfx::Point& point); | 265 void ShowContextMenuAtPoint(const gfx::Point& point); |
266 void DismissTextHandles(); | 266 void DismissTextHandles(); |
267 void SetTextHandlesTemporarilyHidden(bool hidden); | 267 void SetTextHandlesTemporarilyHidden(bool hidden); |
268 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip); | 268 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip); |
| 269 void OnSelectWordAroundCaretAck(bool did_select, |
| 270 int start_adjust, |
| 271 int end_adjust); |
269 | 272 |
270 void SynchronousFrameMetadata(cc::CompositorFrameMetadata frame_metadata); | 273 void SynchronousFrameMetadata(cc::CompositorFrameMetadata frame_metadata); |
271 | 274 |
272 void SetSynchronousCompositorClient(SynchronousCompositorClient* client); | 275 void SetSynchronousCompositorClient(SynchronousCompositorClient* client); |
273 | 276 |
274 SynchronousCompositorClient* synchronous_compositor_client() const { | 277 SynchronousCompositorClient* synchronous_compositor_client() const { |
275 return synchronous_compositor_client_; | 278 return synchronous_compositor_client_; |
276 } | 279 } |
277 | 280 |
278 void OnOverscrollRefreshHandlerAvailable(); | 281 void OnOverscrollRefreshHandlerAvailable(); |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 base::ObserverList<DestructionObserver> destruction_observers_; | 428 base::ObserverList<DestructionObserver> destruction_observers_; |
426 | 429 |
427 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 430 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
428 | 431 |
429 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 432 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
430 }; | 433 }; |
431 | 434 |
432 } // namespace content | 435 } // namespace content |
433 | 436 |
434 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 437 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
OLD | NEW |