| 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 GetScaledContentBitmap(float scale, | 230 void GetScaledContentBitmap(float scale, |
| 231 SkColorType preferred_color_type, | 231 SkColorType preferred_color_type, |
| 232 gfx::Rect src_subrect, | 232 gfx::Rect src_subrect, |
| 233 const ReadbackRequestCallback& result_callback); | 233 const ReadbackRequestCallback& result_callback); |
| 234 | 234 |
| 235 bool HasValidFrame() const; | 235 bool HasValidFrame() const; |
| 236 | 236 |
| 237 void MoveCaret(const gfx::Point& point); | 237 void MoveCaret(const gfx::Point& point); |
| 238 void DismissTextHandles(); | 238 void DismissTextHandles(); |
| 239 void SetTextHandlesTemporarilyHidden(bool hidden); | 239 void SetTextHandlesTemporarilyHidden(bool hidden); |
| 240 void OnShowingPastePopup(const gfx::PointF& point); | |
| 241 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip); | 240 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip); |
| 242 | 241 |
| 243 void SynchronousFrameMetadata(cc::CompositorFrameMetadata frame_metadata); | 242 void SynchronousFrameMetadata(cc::CompositorFrameMetadata frame_metadata); |
| 244 | 243 |
| 245 static void OnContextLost(); | 244 static void OnContextLost(); |
| 246 | 245 |
| 247 private: | 246 private: |
| 248 void RunAckCallbacks(); | 247 void RunAckCallbacks(); |
| 249 | 248 |
| 250 void CheckCompositorFrameSinkChanged(uint32_t compositor_frame_sink_id); | 249 void CheckCompositorFrameSinkChanged(uint32_t compositor_frame_sink_id); |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 gfx::Vector2dF last_scroll_offset_; | 374 gfx::Vector2dF last_scroll_offset_; |
| 376 | 375 |
| 377 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 376 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
| 378 | 377 |
| 379 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 378 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 380 }; | 379 }; |
| 381 | 380 |
| 382 } // namespace content | 381 } // namespace content |
| 383 | 382 |
| 384 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 383 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |