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

Unified Diff: ui/base/android/window_android.h

Issue 611313003: Use estimated vsync period on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: ui/base/android/window_android.h
diff --git a/ui/base/android/window_android.h b/ui/base/android/window_android.h
index cd8ae3408c85f2677e2f8472a7357c4e0f9d3012..391b21f7daf11ae1fe795bf37e9ad5c136549b9c 100644
--- a/ui/base/android/window_android.h
+++ b/ui/base/android/window_android.h
@@ -54,6 +54,7 @@ class UI_BASE_EXPORT WindowAndroid {
void RequestVSyncUpdate();
void SetNeedsAnimate();
void OnVSync(JNIEnv* env, jobject obj, jlong time_micros);
+ void UpdateVSyncPeriod(JNIEnv* env, jobject obj, jlong period_micros);
void Animate(base::TimeTicks begin_frame_time);
private:

Powered by Google App Engine
This is Rietveld 408576698