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

Unified Diff: chrome/test/data/extensions/api_test/page_action/old_api/page.js

Issue 472333002: Remove deprecated chrome.pageActions api functions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: histograms.xml Created 6 years, 4 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: chrome/test/data/extensions/api_test/page_action/old_api/page.js
diff --git a/chrome/test/data/extensions/api_test/page_action/old_api/page.js b/chrome/test/data/extensions/api_test/page_action/old_api/page.js
deleted file mode 100644
index de7b8ae5f692adf74d6f691dbb50b6c4c974e594..0000000000000000000000000000000000000000
--- a/chrome/test/data/extensions/api_test/page_action/old_api/page.js
+++ /dev/null
@@ -1,9 +0,0 @@
-// 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.
-
-// Enable the page action on this tab.
-chrome.tabs.getSelected(null, function(tab) {
- chrome.pageActions.enableForTab("action", {"tabId":tab.id, "url":tab.url});
- chrome.test.notifyPass();
-});

Powered by Google App Engine
This is Rietveld 408576698