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

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

Issue 10914244: Remove support for page_action.icons, and the legacy code surrounding it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: constants removed Created 8 years, 3 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 | « chrome/test/data/extensions/api_test/page_action/old_api/set_icon_index.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/page_action/old_api/set_icon_index.js
diff --git a/chrome/test/data/extensions/api_test/page_action/old_api/set_icon_index.js b/chrome/test/data/extensions/api_test/page_action/old_api/set_icon_index.js
deleted file mode 100644
index 01e0a25df7a97b3d12661279cab028e8dfb65e35..0000000000000000000000000000000000000000
--- a/chrome/test/data/extensions/api_test/page_action/old_api/set_icon_index.js
+++ /dev/null
@@ -1,10 +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.pageAction.setIcon({tabId: tab.id, iconIndex: 1}, function(){
- chrome.test.notifyPass();
- });
-});
« no previous file with comments | « chrome/test/data/extensions/api_test/page_action/old_api/set_icon_index.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698