summaryrefslogtreecommitdiffstats
path: root/ash/launcher/launcher.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/launcher/launcher.cc')
-rw-r--r--ash/launcher/launcher.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/ash/launcher/launcher.cc b/ash/launcher/launcher.cc
index 51b2c58..782365c 100644
--- a/ash/launcher/launcher.cc
+++ b/ash/launcher/launcher.cc
@@ -179,9 +179,12 @@ gfx::Rect Launcher::GetScreenBoundsOfItemIconForWindow(aura::Window* window) {
bounds.height());
}
+bool Launcher::IsShowingMenu() const {
+ return launcher_view_->IsShowingMenu();
+}
+
internal::LauncherView* Launcher::GetLauncherViewForTest() {
- return static_cast<internal::LauncherView*>(
- widget_->GetContentsView()->child_at(0));
+ return launcher_view_;
}
void Launcher::UpdateBackground(int alpha) {