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

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

Issue 23530020: [cleanup] Remove LauncherItemChanged() from LauncherItemController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SHELL_WINDOW_LAUNCHER_ITEM_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_SHELL_WINDOW_LAUNCHER_ITEM_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_SHELL_WINDOW_LAUNCHER_ITEM_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_SHELL_WINDOW_LAUNCHER_ITEM_CONTROLLER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // LauncherItemController 57 // LauncherItemController
58 virtual string16 GetTitle() OVERRIDE; 58 virtual string16 GetTitle() OVERRIDE;
59 virtual bool IsCurrentlyShownInWindow(aura::Window* window) const OVERRIDE; 59 virtual bool IsCurrentlyShownInWindow(aura::Window* window) const OVERRIDE;
60 virtual bool IsOpen() const OVERRIDE; 60 virtual bool IsOpen() const OVERRIDE;
61 virtual bool IsVisible() const OVERRIDE; 61 virtual bool IsVisible() const OVERRIDE;
62 virtual void Launch(int event_flags) OVERRIDE; 62 virtual void Launch(int event_flags) OVERRIDE;
63 virtual void Activate() OVERRIDE; 63 virtual void Activate() OVERRIDE;
64 virtual void Close() OVERRIDE; 64 virtual void Close() OVERRIDE;
65 virtual void Clicked(const ui::Event& event) OVERRIDE; 65 virtual void Clicked(const ui::Event& event) OVERRIDE;
66 virtual void OnRemoved() OVERRIDE {} 66 virtual void OnRemoved() OVERRIDE {}
67 virtual void LauncherItemChanged(
68 int model_index,
69 const ash::LauncherItem& old_item) OVERRIDE {}
70 virtual ChromeLauncherAppMenuItems GetApplicationList( 67 virtual ChromeLauncherAppMenuItems GetApplicationList(
71 int event_flags) OVERRIDE; 68 int event_flags) OVERRIDE;
72 69
73 // aura::WindowObserver 70 // aura::WindowObserver
74 virtual void OnWindowPropertyChanged(aura::Window* window, 71 virtual void OnWindowPropertyChanged(aura::Window* window,
75 const void* key, 72 const void* key,
76 intptr_t old) OVERRIDE; 73 intptr_t old) OVERRIDE;
77 74
78 // Get the number of running applications/incarnations of this. 75 // Get the number of running applications/incarnations of this.
79 size_t shell_window_count() const { return shell_windows_.size(); } 76 size_t shell_window_count() const { return shell_windows_.size(); }
(...skipping 20 matching lines...) Expand all
100 // AppLauncherItemController for each |app_launcher_id_|. 97 // AppLauncherItemController for each |app_launcher_id_|.
101 const std::string app_launcher_id_; 98 const std::string app_launcher_id_;
102 99
103 // Scoped list of observed windows (for removal on destruction) 100 // Scoped list of observed windows (for removal on destruction)
104 ScopedObserver<aura::Window, aura::WindowObserver> observed_windows_; 101 ScopedObserver<aura::Window, aura::WindowObserver> observed_windows_;
105 102
106 DISALLOW_COPY_AND_ASSIGN(ShellWindowLauncherItemController); 103 DISALLOW_COPY_AND_ASSIGN(ShellWindowLauncherItemController);
107 }; 104 };
108 105
109 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_SHELL_WINDOW_LAUNCHER_ITEM_CONTROLLER_ H_ 106 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_SHELL_WINDOW_LAUNCHER_ITEM_CONTROLLER_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698