| 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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 202 bool OnTouchEvent(const ui::MotionEvent& event); | 202 bool OnTouchEvent(const ui::MotionEvent& event); |
| 203 bool OnTouchHandleEvent(const ui::MotionEvent& event); | 203 bool OnTouchHandleEvent(const ui::MotionEvent& event); |
| 204 void ResetGestureDetection(); | 204 void ResetGestureDetection(); |
| 205 void SetDoubleTapSupportEnabled(bool enabled); | 205 void SetDoubleTapSupportEnabled(bool enabled); |
| 206 void SetMultiTouchZoomSupportEnabled(bool enabled); | 206 void SetMultiTouchZoomSupportEnabled(bool enabled); |
| 207 | 207 |
| 208 long GetNativeImeAdapter(); | 208 long GetNativeImeAdapter(); |
| 209 | 209 |
| 210 void WasResized(); | 210 void WasResized(); |
| 211 | 211 |
| 212 void GetScaledContentBitmap(float scale, | |
| 213 SkColorType preferred_color_type, | |
| 214 gfx::Rect src_subrect, | |
| 215 const ReadbackRequestCallback& result_callback); | |
| 216 | |
| 217 bool HasValidFrame() const; | 212 bool HasValidFrame() const; |
| 218 | 213 |
| 219 void MoveCaret(const gfx::Point& point); | 214 void MoveCaret(const gfx::Point& point); |
| 220 void DismissTextHandles(); | 215 void DismissTextHandles(); |
| 221 void SetTextHandlesTemporarilyHidden(bool hidden); | 216 void SetTextHandlesTemporarilyHidden(bool hidden); |
| 222 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip); | 217 void OnShowUnhandledTapUIIfNeeded(int x_dip, int y_dip); |
| 223 | 218 |
| 224 void SynchronousFrameMetadata(cc::CompositorFrameMetadata frame_metadata); | 219 void SynchronousFrameMetadata(cc::CompositorFrameMetadata frame_metadata); |
| 225 | 220 |
| 226 void SetSynchronousCompositorClient(SynchronousCompositorClient* client); | 221 void SetSynchronousCompositorClient(SynchronousCompositorClient* client); |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 float prev_bottom_shown_pix_; | 372 float prev_bottom_shown_pix_; |
| 378 | 373 |
| 379 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 374 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
| 380 | 375 |
| 381 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 376 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 382 }; | 377 }; |
| 383 | 378 |
| 384 } // namespace content | 379 } // namespace content |
| 385 | 380 |
| 386 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 381 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |