| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_SHELF_DELEGATE_IMPL_H_ | 5 #ifndef ASH_SHELL_SHELF_DELEGATE_IMPL_H_ |
| 6 #define ASH_SHELL_SHELF_DELEGATE_IMPL_H_ | 6 #define ASH_SHELL_SHELF_DELEGATE_IMPL_H_ |
| 7 | 7 |
| 8 #include "ash/shelf/shelf_delegate.h" | 8 #include "ash/shelf/shelf_delegate.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 | 10 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 // ShelfDelegate overrides: | 27 // ShelfDelegate overrides: |
| 28 virtual void OnLauncherCreated(Launcher* launcher) OVERRIDE; | 28 virtual void OnLauncherCreated(Launcher* launcher) OVERRIDE; |
| 29 virtual void OnLauncherDestroyed(Launcher* launcher) OVERRIDE; | 29 virtual void OnLauncherDestroyed(Launcher* launcher) OVERRIDE; |
| 30 virtual LauncherID GetLauncherIDForAppID(const std::string& app_id) OVERRIDE; | 30 virtual LauncherID GetLauncherIDForAppID(const std::string& app_id) OVERRIDE; |
| 31 virtual const std::string& GetAppIDForLauncherID(LauncherID id) OVERRIDE; | 31 virtual const std::string& GetAppIDForLauncherID(LauncherID id) OVERRIDE; |
| 32 virtual void PinAppWithID(const std::string& app_id) OVERRIDE; | 32 virtual void PinAppWithID(const std::string& app_id) OVERRIDE; |
| 33 virtual bool IsAppPinned(const std::string& app_id) OVERRIDE; | 33 virtual bool IsAppPinned(const std::string& app_id) OVERRIDE; |
| 34 virtual bool CanPin() const OVERRIDE; | 34 virtual bool CanPin() const OVERRIDE; |
| 35 virtual void UnpinAppWithID(const std::string& app_id) OVERRIDE; | 35 virtual void UnpinAppWithID(const std::string& app_id) OVERRIDE; |
| 36 virtual bool CanUserModifyShelfAutoHideBehavior( |
| 37 aura::Window* root_window) const OVERRIDE; |
| 36 | 38 |
| 37 private: | 39 private: |
| 38 // Used to update Launcher. Owned by main. | 40 // Used to update Launcher. Owned by main. |
| 39 WindowWatcher* watcher_; | 41 WindowWatcher* watcher_; |
| 40 | 42 |
| 41 DISALLOW_COPY_AND_ASSIGN(ShelfDelegateImpl); | 43 DISALLOW_COPY_AND_ASSIGN(ShelfDelegateImpl); |
| 42 }; | 44 }; |
| 43 | 45 |
| 44 } // namespace shell | 46 } // namespace shell |
| 45 } // namespace ash | 47 } // namespace ash |
| 46 | 48 |
| 47 #endif // ASH_SHELL_SHELF_DELEGATE_IMPL_H_ | 49 #endif // ASH_SHELL_SHELF_DELEGATE_IMPL_H_ |
| OLD | NEW |