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

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwContents.java

Issue 133943002: Gamepad API support for chrome on android (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 6 years, 10 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: android_webview/java/src/org/chromium/android_webview/AwContents.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContents.java b/android_webview/java/src/org/chromium/android_webview/AwContents.java
index d8c1708e4753d5293474702bdffb943f786f91b5..8421dec3f8ce559ffa9fe52680b4ca7decb54b51 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
@@ -1174,6 +1174,7 @@ public class AwContents {
if (mIsPaused || mNativeAwContents == 0) return;
mIsPaused = true;
nativeSetIsPaused(mNativeAwContents, mIsPaused);
+ mContentViewCore.onPause();
kbalazs 2014/02/20 00:48:24 I'm not sure we need these. But if we do we will n
xwang 2014/02/25 10:26:58 I also questioned whether we need to reproduce onP
SaurabhK 2014/02/26 14:14:26 On 2014/02/25 10:26:58, xwang wrote: I agree to r
}
/**
@@ -1183,6 +1184,7 @@ public class AwContents {
if (!mIsPaused || mNativeAwContents == 0) return;
mIsPaused = false;
nativeSetIsPaused(mNativeAwContents, mIsPaused);
+ mContentViewCore.onResume();
}
/**
« no previous file with comments | « no previous file | base/android/jni_generator/jni_generator.py » ('j') | content/browser/android/gamepad_reader_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698