| 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 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 | 309 |
| 310 enum BeginFrameRequestType { | 310 enum BeginFrameRequestType { |
| 311 FLUSH_INPUT = 1 << 0, | 311 FLUSH_INPUT = 1 << 0, |
| 312 BEGIN_FRAME = 1 << 1, | 312 BEGIN_FRAME = 1 << 1, |
| 313 PERSISTENT_BEGIN_FRAME = 1 << 2 | 313 PERSISTENT_BEGIN_FRAME = 1 << 2 |
| 314 }; | 314 }; |
| 315 void AddBeginFrameRequest(BeginFrameRequestType request); | 315 void AddBeginFrameRequest(BeginFrameRequestType request); |
| 316 void ClearBeginFrameRequest(BeginFrameRequestType request); | 316 void ClearBeginFrameRequest(BeginFrameRequestType request); |
| 317 void StartObservingRootWindow(); | 317 void StartObservingRootWindow(); |
| 318 void StopObservingRootWindow(); | 318 void StopObservingRootWindow(); |
| 319 void SendBeginFrame(cc::BeginFrameArgs args); | 319 void SendBeginFrame(const cc::BeginFrameArgs& args); |
| 320 bool Animate(base::TimeTicks frame_time); | 320 bool Animate(base::TimeTicks frame_time); |
| 321 void RequestDisallowInterceptTouchEvent(); | 321 void RequestDisallowInterceptTouchEvent(); |
| 322 | 322 |
| 323 bool SyncCompositorOnMessageReceived(const IPC::Message& message); | 323 bool SyncCompositorOnMessageReceived(const IPC::Message& message); |
| 324 | 324 |
| 325 void ComputeEventLatencyOSTouchHistograms(const ui::MotionEvent& event); | 325 void ComputeEventLatencyOSTouchHistograms(const ui::MotionEvent& event); |
| 326 | 326 |
| 327 void CreateOverscrollControllerIfPossible(); | 327 void CreateOverscrollControllerIfPossible(); |
| 328 | 328 |
| 329 // The model object. | 329 // The model object. |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 float prev_bottom_shown_pix_; | 403 float prev_bottom_shown_pix_; |
| 404 | 404 |
| 405 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; | 405 base::WeakPtrFactory<RenderWidgetHostViewAndroid> weak_ptr_factory_; |
| 406 | 406 |
| 407 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); | 407 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAndroid); |
| 408 }; | 408 }; |
| 409 | 409 |
| 410 } // namespace content | 410 } // namespace content |
| 411 | 411 |
| 412 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ | 412 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_ANDROID_H_ |
| OLD | NEW |