| Index: chrome/test/webdriver/test/infobar_browser_action_extension/bg.js
|
| diff --git a/chrome/test/webdriver/test/infobar_browser_action_extension/bg.js b/chrome/test/webdriver/test/infobar_browser_action_extension/bg.js
|
| deleted file mode 100644
|
| index 5d29b54e45d8190f1d50010b597b236ecaf81418..0000000000000000000000000000000000000000
|
| --- a/chrome/test/webdriver/test/infobar_browser_action_extension/bg.js
|
| +++ /dev/null
|
| @@ -1,20 +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.
|
| -
|
| -var g_infobarReady = false;
|
| -var g_callback = null;
|
| -function waitForInfobar(callback) {
|
| - if (g_infobarReady)
|
| - callback();
|
| - g_callback = callback;
|
| -}
|
| -
|
| -chrome.tabs.getSelected(null, function(tab) {
|
| - chrome.infobars.show(
|
| - {'tabId': tab.id, 'path': 'view_checks.html'}, function() {
|
| - g_infobarReady = true;
|
| - if (g_callback)
|
| - g_callback();
|
| - });
|
| -});
|
|
|