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

Side by Side Diff: ash/shell/launcher_delegate_impl.h

Issue 23068021: Remove PerBrowser launcher, reland step 1 of 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « ash/launcher/launcher_delegate.h ('k') | ash/shell/launcher_delegate_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ASH_SHELL_LAUNCHER_DELEGATE_IMPL_H_ 5 #ifndef ASH_SHELL_LAUNCHER_DELEGATE_IMPL_H_
6 #define ASH_SHELL_LAUNCHER_DELEGATE_IMPL_H_ 6 #define ASH_SHELL_LAUNCHER_DELEGATE_IMPL_H_
7 7
8 #include "ash/launcher/launcher_delegate.h" 8 #include "ash/launcher/launcher_delegate.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 10
(...skipping 21 matching lines...) Expand all
32 const ash::LauncherItem& item, 32 const ash::LauncherItem& item,
33 aura::RootWindow* root) OVERRIDE; 33 aura::RootWindow* root) OVERRIDE;
34 virtual ash::LauncherMenuModel* CreateApplicationMenu( 34 virtual ash::LauncherMenuModel* CreateApplicationMenu(
35 const ash::LauncherItem&, 35 const ash::LauncherItem&,
36 int event_flags) OVERRIDE; 36 int event_flags) OVERRIDE;
37 virtual ash::LauncherID GetIDByWindow(aura::Window* window) OVERRIDE; 37 virtual ash::LauncherID GetIDByWindow(aura::Window* window) OVERRIDE;
38 virtual bool IsDraggable(const ash::LauncherItem& item) OVERRIDE; 38 virtual bool IsDraggable(const ash::LauncherItem& item) OVERRIDE;
39 virtual bool ShouldShowTooltip(const LauncherItem& item) OVERRIDE; 39 virtual bool ShouldShowTooltip(const LauncherItem& item) OVERRIDE;
40 virtual void OnLauncherCreated(Launcher* launcher) OVERRIDE; 40 virtual void OnLauncherCreated(Launcher* launcher) OVERRIDE;
41 virtual void OnLauncherDestroyed(Launcher* launcher) OVERRIDE; 41 virtual void OnLauncherDestroyed(Launcher* launcher) OVERRIDE;
42 virtual bool IsPerAppLauncher() OVERRIDE;
43 virtual LauncherID GetLauncherIDForAppID(const std::string& app_id) OVERRIDE; 42 virtual LauncherID GetLauncherIDForAppID(const std::string& app_id) OVERRIDE;
44 virtual void PinAppWithID(const std::string& app_id) OVERRIDE; 43 virtual void PinAppWithID(const std::string& app_id) OVERRIDE;
45 virtual bool IsAppPinned(const std::string& app_id) OVERRIDE; 44 virtual bool IsAppPinned(const std::string& app_id) OVERRIDE;
46 virtual void UnpinAppsWithID(const std::string& app_id) OVERRIDE; 45 virtual void UnpinAppsWithID(const std::string& app_id) OVERRIDE;
47 46
48 private: 47 private:
49 // Used to update Launcher. Owned by main. 48 // Used to update Launcher. Owned by main.
50 WindowWatcher* watcher_; 49 WindowWatcher* watcher_;
51 50
52 DISALLOW_COPY_AND_ASSIGN(LauncherDelegateImpl); 51 DISALLOW_COPY_AND_ASSIGN(LauncherDelegateImpl);
53 }; 52 };
54 53
55 } // namespace shell 54 } // namespace shell
56 } // namespace ash 55 } // namespace ash
57 56
58 #endif // ASH_SHELL_LAUNCHER_DELEGATE_IMPL_H_ 57 #endif // ASH_SHELL_LAUNCHER_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « ash/launcher/launcher_delegate.h ('k') | ash/shell/launcher_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698