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

Unified Diff: trunk/src/chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.h

Issue 25716004: Revert 226547 "Refactor LauncherItemController and LauncherItemD..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 2 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
Index: trunk/src/chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.h
===================================================================
--- trunk/src/chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.h (revision 226578)
+++ trunk/src/chrome/browser/ui/ash/launcher/shell_window_launcher_item_controller.h (working copy)
@@ -31,7 +31,7 @@
// instance per app, per launcher id.
// For apps with multiple windows, each item controller keeps track of all
// windows associated with the app and their activation order.
-// Instances are owned by ash::LauncherItemDelegateManager.
+// Instances are owned by ShellWindowLauncherController.
//
// Tests are in chrome_launcher_controller_browsertest.cc
@@ -54,25 +54,20 @@
const std::string& app_launcher_id() const { return app_launcher_id_; }
- // LauncherItemController overrides:
+ // LauncherItemController
+ virtual string16 GetTitle() OVERRIDE;
virtual bool IsCurrentlyShownInWindow(aura::Window* window) const OVERRIDE;
virtual bool IsOpen() const OVERRIDE;
virtual bool IsVisible() const OVERRIDE;
virtual void Launch(ash::LaunchSource source, int event_flags) OVERRIDE;
virtual void Activate(ash::LaunchSource source) OVERRIDE;
virtual void Close() OVERRIDE;
+ virtual void Clicked(const ui::Event& event) OVERRIDE;
+ virtual void OnRemoved() OVERRIDE {}
virtual ChromeLauncherAppMenuItems GetApplicationList(
int event_flags) OVERRIDE;
- virtual void ItemSelected(const ui::Event& eent) OVERRIDE;
- virtual base::string16 GetTitle() OVERRIDE;
- virtual ui::MenuModel* CreateContextMenu(
- aura::RootWindow* root_window) OVERRIDE;
- virtual ash::LauncherMenuModel* CreateApplicationMenu(
- int event_flags) OVERRIDE;
- virtual bool IsDraggable() OVERRIDE;
- virtual bool ShouldShowTooltip() OVERRIDE;
- // aura::WindowObserver overrides:
+ // aura::WindowObserver
virtual void OnWindowPropertyChanged(aura::Window* window,
const void* key,
intptr_t old) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698