| OLD | NEW |
| 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 24 matching lines...) Expand all Loading... |
| 35 aura::RootWindow* root) OVERRIDE; | 35 aura::RootWindow* root) OVERRIDE; |
| 36 virtual ash::LauncherMenuModel* CreateApplicationMenu( | 36 virtual ash::LauncherMenuModel* CreateApplicationMenu( |
| 37 const ash::LauncherItem&, | 37 const ash::LauncherItem&, |
| 38 int event_flags) OVERRIDE; | 38 int event_flags) OVERRIDE; |
| 39 virtual ash::LauncherID GetIDByWindow(aura::Window* window) OVERRIDE; | 39 virtual ash::LauncherID GetIDByWindow(aura::Window* window) OVERRIDE; |
| 40 virtual bool IsDraggable(const ash::LauncherItem& item) OVERRIDE; | 40 virtual bool IsDraggable(const ash::LauncherItem& item) OVERRIDE; |
| 41 virtual bool ShouldShowTooltip(const LauncherItem& item) OVERRIDE; | 41 virtual bool ShouldShowTooltip(const LauncherItem& item) OVERRIDE; |
| 42 virtual void OnLauncherCreated(Launcher* launcher) OVERRIDE; | 42 virtual void OnLauncherCreated(Launcher* launcher) OVERRIDE; |
| 43 virtual void OnLauncherDestroyed(Launcher* launcher) OVERRIDE; | 43 virtual void OnLauncherDestroyed(Launcher* launcher) OVERRIDE; |
| 44 virtual bool IsPerAppLauncher() OVERRIDE; | 44 virtual bool IsPerAppLauncher() OVERRIDE; |
| 45 virtual LauncherID GetLauncherIDForAppID(const std::string& app_id) OVERRIDE; |
| 46 virtual void PinAppWithID(const std::string& app_id) OVERRIDE; |
| 47 virtual void UnpinAppsWithID(const std::string& app_id) OVERRIDE; |
| 45 | 48 |
| 46 private: | 49 private: |
| 47 // Used to update Launcher. Owned by main. | 50 // Used to update Launcher. Owned by main. |
| 48 WindowWatcher* watcher_; | 51 WindowWatcher* watcher_; |
| 49 | 52 |
| 50 DISALLOW_COPY_AND_ASSIGN(LauncherDelegateImpl); | 53 DISALLOW_COPY_AND_ASSIGN(LauncherDelegateImpl); |
| 51 }; | 54 }; |
| 52 | 55 |
| 53 } // namespace shell | 56 } // namespace shell |
| 54 } // namespace ash | 57 } // namespace ash |
| 55 | 58 |
| 56 #endif // ASH_SHELL_LAUNCHER_DELEGATE_IMPL_H_ | 59 #endif // ASH_SHELL_LAUNCHER_DELEGATE_IMPL_H_ |
| OLD | NEW |