| 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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 scoped_refptr<cc::Layer> CreateDelegatedLayer() const; | 241 scoped_refptr<cc::Layer> CreateDelegatedLayer() const; |
| 242 | 242 |
| 243 bool HasValidFrame() const; | 243 bool HasValidFrame() const; |
| 244 | 244 |
| 245 void MoveCaret(const gfx::Point& point); | 245 void MoveCaret(const gfx::Point& point); |
| 246 void DismissTextHandles(); | 246 void DismissTextHandles(); |
| 247 void SetTextHandlesTemporarilyHidden(bool hidden); | 247 void SetTextHandlesTemporarilyHidden(bool hidden); |
| 248 void OnShowingPastePopup(const gfx::PointF& point); | 248 void OnShowingPastePopup(const gfx::PointF& point); |
| 249 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip); | 249 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip); |
| 250 | 250 |
| 251 SynchronousCompositorHost* GetSynchronousCompositor(); | |
| 252 void SynchronousFrameMetadata( | 251 void SynchronousFrameMetadata( |
| 253 const cc::CompositorFrameMetadata& frame_metadata); | 252 const cc::CompositorFrameMetadata& frame_metadata); |
| 254 | 253 |
| 255 void SetOverlayVideoMode(bool enabled); | 254 void SetOverlayVideoMode(bool enabled); |
| 256 | 255 |
| 257 typedef base::Callback< | 256 typedef base::Callback< |
| 258 void(const base::string16& content, int start_offset, int end_offset)> | 257 void(const base::string16& content, int start_offset, int end_offset)> |
| 259 TextSurroundingSelectionCallback; | 258 TextSurroundingSelectionCallback; |
| 260 void SetTextSurroundingSelectionCallback( | 259 void SetTextSurroundingSelectionCallback( |
| 261 const TextSurroundingSelectionCallback& callback); | 260 const TextSurroundingSelectionCallback& callback); |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 409 gfx::Vector2dF last_scroll_offset_; | 408 gfx::Vector2dF last_scroll_offset_; |
| 410 | 409 |
| 411 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 410 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
| 412 | 411 |
| 413 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 412 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 414 }; | 413 }; |
| 415 | 414 |
| 416 } // namespace content | 415 } // namespace content |
| 417 | 416 |
| 418 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 417 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |