| Index: chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc
|
| diff --git a/chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc b/chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc
|
| index 8f541ef31d8902b1b0abb42c4b7a126de6b5ee5d..65753fec484dff4c4c4702477c4b7f3850b9cbb3 100644
|
| --- a/chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc
|
| +++ b/chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc
|
| @@ -130,18 +130,6 @@ void BrowserShortcutLauncherItemController::SetShelfIDForBrowserWindowContents(
|
| launcher_controller()->GetShelfIDForWebContents(web_contents));
|
| }
|
|
|
| -bool BrowserShortcutLauncherItemController::IsVisible() const {
|
| - Browser* last_browser =
|
| - chrome::FindTabbedBrowser(launcher_controller()->profile(), true);
|
| -
|
| - if (!last_browser) {
|
| - return false;
|
| - }
|
| -
|
| - aura::Window* window = last_browser->window()->GetNativeWindow();
|
| - return ash::wm::IsActiveWindow(window);
|
| -}
|
| -
|
| void BrowserShortcutLauncherItemController::Launch(ash::LaunchSource source,
|
| int event_flags) {
|
| }
|
|
|