summaryrefslogtreecommitdiffstats
path: root/ash/launcher/launcher_tooltip_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'ash/launcher/launcher_tooltip_manager.h')
-rw-r--r--ash/launcher/launcher_tooltip_manager.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/ash/launcher/launcher_tooltip_manager.h b/ash/launcher/launcher_tooltip_manager.h
index 0e2c660..8bb764f 100644
--- a/ash/launcher/launcher_tooltip_manager.h
+++ b/ash/launcher/launcher_tooltip_manager.h
@@ -40,11 +40,14 @@ class ASH_EXPORT LauncherTooltipManager : public ui::EventHandler,
public ShelfLayoutManager::Observer,
public SessionStateObserver {
public:
- LauncherTooltipManager(ShelfAlignment alignment,
- ShelfLayoutManager* shelf_layout_manager,
+ LauncherTooltipManager(ShelfLayoutManager* shelf_layout_manager,
LauncherView* launcher_view);
virtual ~LauncherTooltipManager();
+ ShelfLayoutManager* shelf_layout_manager() {
+ return shelf_layout_manager_;
+ }
+
// Called when the bubble is closed.
void OnBubbleClosed(views::BubbleDelegateView* view);
@@ -59,7 +62,7 @@ class ASH_EXPORT LauncherTooltipManager : public ui::EventHandler,
// Changes the arrow location of the tooltip in case that the launcher
// arrangement has changed.
- void SetArrowLocation(ShelfAlignment alignment);
+ void UpdateArrowLocation();
// Resets the timer for the delayed showing |view_|. If the timer isn't
// running, it starts a new timer.
@@ -101,7 +104,6 @@ protected:
views::Widget* widget_;
views::View* anchor_;
string16 text_;
- ShelfAlignment alignment_;
scoped_ptr<base::Timer> timer_;
ShelfLayoutManager* shelf_layout_manager_;