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

Unified Diff: ui/android/window_android.h

Issue 2754493002: Expose VSync pausing through WindowAndroid and pause VSync during webVR presentation (Closed)
Patch Set: Fix 'unused' member Created 3 years, 9 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
« no previous file with comments | « ui/android/java/src/org/chromium/ui/base/WindowAndroid.java ('k') | ui/android/window_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/window_android.h
diff --git a/ui/android/window_android.h b/ui/android/window_android.h
index 7219c0ac73fa1c185f701323a07f79fd0115cce6..58a3d4905ac862c877a9ab218d1bc07648ebb5c5 100644
--- a/ui/android/window_android.h
+++ b/ui/android/window_android.h
@@ -74,6 +74,9 @@ class UI_ANDROID_EXPORT WindowAndroid : public ViewAndroid {
const base::android::JavaParamRef<jobject>& obj);
void OnActivityStarted(JNIEnv* env,
const base::android::JavaParamRef<jobject>& obj);
+ void SetVSyncPaused(JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& obj,
+ bool paused);
// Return whether the specified Android permission is granted.
bool HasPermission(const std::string& permission);
« no previous file with comments | « ui/android/java/src/org/chromium/ui/base/WindowAndroid.java ('k') | ui/android/window_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698