| 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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 void WasResized(); | 215 void WasResized(); |
| 216 | 216 |
| 217 void GetScaledContentBitmap(float scale, | 217 void GetScaledContentBitmap(float scale, |
| 218 SkColorType preferred_color_type, | 218 SkColorType preferred_color_type, |
| 219 gfx::Rect src_subrect, | 219 gfx::Rect src_subrect, |
| 220 const ReadbackRequestCallback& result_callback); | 220 const ReadbackRequestCallback& result_callback); |
| 221 | 221 |
| 222 bool HasValidFrame() const; | 222 bool HasValidFrame() const; |
| 223 | 223 |
| 224 void MoveCaret(const gfx::Point& point); | 224 void MoveCaret(const gfx::Point& point); |
| 225 void ShowContextMenuAtPoint(const gfx::Point& point); | |
| 226 void DismissTextHandles(); | 225 void DismissTextHandles(); |
| 227 void SetTextHandlesTemporarilyHidden(bool hidden); | 226 void SetTextHandlesTemporarilyHidden(bool hidden); |
| 228 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip); | 227 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip); |
| 229 | 228 |
| 230 void SynchronousFrameMetadata(cc::CompositorFrameMetadata frame_metadata); | 229 void SynchronousFrameMetadata(cc::CompositorFrameMetadata frame_metadata); |
| 231 | 230 |
| 232 void SetSynchronousCompositorClient(SynchronousCompositorClient* client); | 231 void SetSynchronousCompositorClient(SynchronousCompositorClient* client); |
| 233 | 232 |
| 234 SynchronousCompositorClient* synchronous_compositor_client() const { | 233 SynchronousCompositorClient* synchronous_compositor_client() const { |
| 235 return synchronous_compositor_client_; | 234 return synchronous_compositor_client_; |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 float prev_bottom_shown_pix_; | 382 float prev_bottom_shown_pix_; |
| 384 | 383 |
| 385 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 384 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
| 386 | 385 |
| 387 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 386 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 388 }; | 387 }; |
| 389 | 388 |
| 390 } // namespace content | 389 } // namespace content |
| 391 | 390 |
| 392 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 391 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |