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

Unified Diff: ppapi/tests/extensions/popup/background.js

Issue 1414783002: Don't keep the lazy background page alive after a view with a Pepper plugin is closed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « ppapi/tests/extensions/extensions.gyp ('k') | ppapi/tests/extensions/popup/manifest.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/extensions/popup/background.js
diff --git a/chrome/browser/resources/chromeos/login/throbber_notice.js b/ppapi/tests/extensions/popup/background.js
similarity index 64%
copy from chrome/browser/resources/chromeos/login/throbber_notice.js
copy to ppapi/tests/extensions/popup/background.js
index 2b56e0bf0242240b2fe399d68f31d2641a75c9b9..b28194d51ccfb5338d74211f116d71ceb111a1f5 100644
--- a/chrome/browser/resources/chromeos/login/throbber_notice.js
+++ b/ppapi/tests/extensions/popup/background.js
@@ -2,10 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-Polymer({
- is: 'throbber-notice',
-
- properties: {
- text: String
- }
+chrome.runtime.onInstalled.addListener(function() {
+ chrome.tabs.create({url: 'popup.html'});
});
« no previous file with comments | « ppapi/tests/extensions/extensions.gyp ('k') | ppapi/tests/extensions/popup/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698