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

Unified Diff: chrome/test/data/extensions/api_test/pointer_lock/has_permission/background.js

Issue 11413131: Enable Pointer Lock for packaged apps using ShellWindow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: PermissionMessages test fixed; added kPointerLock to skips Created 8 years, 1 month 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: chrome/test/data/extensions/api_test/pointer_lock/has_permission/background.js
diff --git a/chrome/test/data/extensions/browsertest/crash_44415/ExtB/background.js b/chrome/test/data/extensions/api_test/pointer_lock/has_permission/background.js
similarity index 63%
copy from chrome/test/data/extensions/browsertest/crash_44415/ExtB/background.js
copy to chrome/test/data/extensions/api_test/pointer_lock/has_permission/background.js
index 70d9874c12dfaaaf9c4b09246b2d706aafebd788..ba1f1d22ba3805a0f51f9c4ee57e74b35f37d48a 100644
--- a/chrome/test/data/extensions/browsertest/crash_44415/ExtB/background.js
+++ b/chrome/test/data/extensions/api_test/pointer_lock/has_permission/background.js
@@ -2,6 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-chrome.tabs.getSelected(null, function(tab) {
- chrome.pageAction.show(tab.id);
+chrome.app.runtime.onLaunched.addListener(function() {
+ chrome.app.window.create('window.html');
});

Powered by Google App Engine
This is Rietveld 408576698