Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(287)

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_android.h

Issue 2767933002: [cc] Don't send missed BeginFrames with past deadline.
Patch Set: add ExternalBFS tests, don't check in DelayBasedBFS. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « cc/scheduler/delay_based_time_source.h ('k') | content/browser/renderer_host/render_widget_host_view_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698