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

Unified Diff: chrome/test/webdriver/test/page_action_extension/bg.js

Issue 8892015: Fix chromedriver test extensions to use manifest version 2 and not inline (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 9 years 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/webdriver/test/page_action_extension/bg.js
diff --git a/chrome/test/webdriver/test/page_action_extension/bg.js b/chrome/test/webdriver/test/page_action_extension/bg.js
new file mode 100644
index 0000000000000000000000000000000000000000..70d9874c12dfaaaf9c4b09246b2d706aafebd788
--- /dev/null
+++ b/chrome/test/webdriver/test/page_action_extension/bg.js
@@ -0,0 +1,7 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// 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);
+});

Powered by Google App Engine
This is Rietveld 408576698