| 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_LAUNCHER_LAUNCHER_H_ | 5 #ifndef ASH_LAUNCHER_LAUNCHER_H_ |
| 6 #define ASH_LAUNCHER_LAUNCHER_H_ | 6 #define ASH_LAUNCHER_LAUNCHER_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ash/launcher/background_animator.h" | 9 #include "ash/launcher/background_animator.h" |
| 10 #include "ash/launcher/launcher_types.h" | 10 #include "ash/launcher/launcher_types.h" |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 | 71 |
| 72 // Cycles the window focus linearly over the current launcher items. | 72 // Cycles the window focus linearly over the current launcher items. |
| 73 void CycleWindowLinear(CycleDirection direction); | 73 void CycleWindowLinear(CycleDirection direction); |
| 74 | 74 |
| 75 void AddIconObserver(LauncherIconObserver* observer); | 75 void AddIconObserver(LauncherIconObserver* observer); |
| 76 void RemoveIconObserver(LauncherIconObserver* observer); | 76 void RemoveIconObserver(LauncherIconObserver* observer); |
| 77 | 77 |
| 78 // Returns true if the Launcher is showing a context menu. | 78 // Returns true if the Launcher is showing a context menu. |
| 79 bool IsShowingMenu() const; | 79 bool IsShowingMenu() const; |
| 80 | 80 |
| 81 bool IsShowingOverflowBubble() const; |
| 82 |
| 81 views::View* GetAppListButtonView() const; | 83 views::View* GetAppListButtonView() const; |
| 82 | 84 |
| 83 // Only to be called for testing. Retrieves the LauncherView. | 85 // Only to be called for testing. Retrieves the LauncherView. |
| 84 // TODO(sky): remove this! | 86 // TODO(sky): remove this! |
| 85 internal::LauncherView* GetLauncherViewForTest(); | 87 internal::LauncherView* GetLauncherViewForTest(); |
| 86 | 88 |
| 87 LauncherDelegate* delegate() { return delegate_.get(); } | 89 LauncherDelegate* delegate() { return delegate_.get(); } |
| 88 | 90 |
| 89 LauncherModel* model() { return model_.get(); } | 91 LauncherModel* model() { return model_.get(); } |
| 90 views::Widget* widget() { return widget_.get(); } | 92 views::Widget* widget() { return widget_.get(); } |
| (...skipping 28 matching lines...) Expand all Loading... |
| 119 | 121 |
| 120 // Used to animate the background. | 122 // Used to animate the background. |
| 121 internal::BackgroundAnimator background_animator_; | 123 internal::BackgroundAnimator background_animator_; |
| 122 | 124 |
| 123 DISALLOW_COPY_AND_ASSIGN(Launcher); | 125 DISALLOW_COPY_AND_ASSIGN(Launcher); |
| 124 }; | 126 }; |
| 125 | 127 |
| 126 } // namespace ash | 128 } // namespace ash |
| 127 | 129 |
| 128 #endif // ASH_LAUNCHER_LAUNCHER_H_ | 130 #endif // ASH_LAUNCHER_LAUNCHER_H_ |
| OLD | NEW |