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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 ShowContextMenuAtPoint(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, |
| 272 int start_adjust, |
| 273 int end_adjust); |
271 | 274 |
272 void SynchronousFrameMetadata(cc::CompositorFrameMetadata frame_metadata); | 275 void SynchronousFrameMetadata(cc::CompositorFrameMetadata frame_metadata); |
273 | 276 |
274 void SetSynchronousCompositorClient(SynchronousCompositorClient* client); | 277 void SetSynchronousCompositorClient(SynchronousCompositorClient* client); |
275 | 278 |
276 SynchronousCompositorClient* synchronous_compositor_client() const { | 279 SynchronousCompositorClient* synchronous_compositor_client() const { |
277 return synchronous_compositor_client_; | 280 return synchronous_compositor_client_; |
278 } | 281 } |
279 | 282 |
280 void OnOverscrollRefreshHandlerAvailable(); | 283 void OnOverscrollRefreshHandlerAvailable(); |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
427 base::ObserverList<DestructionObserver> destruction_observers_; | 430 base::ObserverList<DestructionObserver> destruction_observers_; |
428 | 431 |
429 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 432 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
430 | 433 |
431 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 434 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
432 }; | 435 }; |
433 | 436 |
434 } // namespace content | 437 } // namespace content |
435 | 438 |
436 #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 |