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

Side by Side Diff: chrome/browser/ui/ash/launcher/app_window_launcher_item_controller.h

Issue 2622423002: Remove unused LauncherItemController::IsVisible() (Closed)
Patch Set: Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_APP_WINDOW_LAUNCHER_ITEM_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_APP_WINDOW_LAUNCHER_ITEM_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_APP_WINDOW_LAUNCHER_ITEM_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_APP_WINDOW_LAUNCHER_ITEM_CONTROLLER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
(...skipping 25 matching lines...) Expand all
36 36
37 ~AppWindowLauncherItemController() override; 37 ~AppWindowLauncherItemController() override;
38 38
39 void AddWindow(ui::BaseWindow* window); 39 void AddWindow(ui::BaseWindow* window);
40 void RemoveWindow(ui::BaseWindow* window); 40 void RemoveWindow(ui::BaseWindow* window);
41 41
42 void SetActiveWindow(aura::Window* window); 42 void SetActiveWindow(aura::Window* window);
43 ui::BaseWindow* GetAppWindow(aura::Window* window); 43 ui::BaseWindow* GetAppWindow(aura::Window* window);
44 44
45 // LauncherItemController overrides: 45 // LauncherItemController overrides:
46 bool IsVisible() const override;
47 void Launch(ash::LaunchSource source, int event_flags) override; 46 void Launch(ash::LaunchSource source, int event_flags) override;
48 ash::ShelfItemDelegate::PerformedAction Activate( 47 ash::ShelfItemDelegate::PerformedAction Activate(
49 ash::LaunchSource source) override; 48 ash::LaunchSource source) override;
50 ChromeLauncherAppMenuItems GetApplicationList(int event_flags) override; 49 ChromeLauncherAppMenuItems GetApplicationList(int event_flags) override;
51 ash::ShelfItemDelegate::PerformedAction ItemSelected( 50 ash::ShelfItemDelegate::PerformedAction ItemSelected(
52 const ui::Event& event) override; 51 const ui::Event& event) override;
53 void Close() override; 52 void Close() override;
54 53
55 // aura::WindowObserver overrides: 54 // aura::WindowObserver overrides:
56 void OnWindowPropertyChanged(aura::Window* window, 55 void OnWindowPropertyChanged(aura::Window* window,
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 // Pointer to the most recently active app window 93 // Pointer to the most recently active app window
95 ui::BaseWindow* last_active_window_ = nullptr; 94 ui::BaseWindow* last_active_window_ = nullptr;
96 95
97 // Scoped list of observed windows (for removal on destruction) 96 // Scoped list of observed windows (for removal on destruction)
98 ScopedObserver<aura::Window, aura::WindowObserver> observed_windows_; 97 ScopedObserver<aura::Window, aura::WindowObserver> observed_windows_;
99 98
100 DISALLOW_COPY_AND_ASSIGN(AppWindowLauncherItemController); 99 DISALLOW_COPY_AND_ASSIGN(AppWindowLauncherItemController);
101 }; 100 };
102 101
103 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_APP_WINDOW_LAUNCHER_ITEM_CONTROLLER_H_ 102 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_APP_WINDOW_LAUNCHER_ITEM_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698