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

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, 11 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 7ede406b397f4e04be64a958e1d95af86408e77d..a3a975790f5ced781c1812b2c235164728bb8787 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
@@ -1,4 +1,5 @@
// Copyright 2012 The Chromium Authors. All rights reserved.
+// Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
scottmg 2014/01/13 19:42:43 I think copyright is supposed to be assigned to Ch
SaurabhK 2014/01/15 16:57:08 Will change it in new patch
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -1177,6 +1178,7 @@ public class AwContents {
if (mIsPaused || mNativeAwContents == 0) return;
mIsPaused = true;
nativeSetIsPaused(mNativeAwContents, mIsPaused);
+ mContentViewCore.onPause();
}
/**
@@ -1186,6 +1188,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.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698