Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Unified Diff: ash/launcher/launcher_tooltip_manager.h

Issue 24141003: ash: Fix crash in launcher tooltip manager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, fix nit Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/launcher/launcher_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/launcher/launcher_tooltip_manager.h
diff --git a/ash/launcher/launcher_tooltip_manager.h b/ash/launcher/launcher_tooltip_manager.h
index 27d3554f2074241c695b4fc2249517d47465a94f..1e2ff3a32eeec27c8333d5b157d68fa665272d0a 100644
--- a/ash/launcher/launcher_tooltip_manager.h
+++ b/ash/launcher/launcher_tooltip_manager.h
@@ -74,6 +74,9 @@ class ASH_EXPORT LauncherTooltipManager : public ui::EventHandler,
// Returns true if the tooltip is currently visible.
bool IsVisible();
+ // Returns the view to which the tooltip bubble is anchored. May be NULL.
+ views::View* GetCurrentAnchorView() { return anchor_; }
+
// Create an instant timer for test purposes.
void CreateZeroDelayTimerForTest();
« no previous file with comments | « no previous file | ash/launcher/launcher_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698