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

Unified Diff: ash/tooltips/tooltip_controller.h

Issue 10828007: Create Tooltip object lazily so that it gets proper drop shadow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed comment Created 8 years, 5 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 | « ash/shell.cc ('k') | ash/tooltips/tooltip_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/tooltips/tooltip_controller.h
diff --git a/ash/tooltips/tooltip_controller.h b/ash/tooltips/tooltip_controller.h
index c20cf88fbddc460c2f82706537a28b62ba07c671..68ddd7f147aaa7782dc66342385354fef2df2d1c 100644
--- a/ash/tooltips/tooltip_controller.h
+++ b/ash/tooltips/tooltip_controller.h
@@ -84,6 +84,10 @@ class ASH_EXPORT TooltipController : public aura::client::TooltipClient,
bool IsDragDropInProgress();
+ // This lazily creates the Tooltip instance so that the tooltip window will
+ // be initialized with appropriate drop shadows.
+ Tooltip* GetTooltip();
+
aura::client::DragDropClient* drag_drop_client_;
aura::Window* tooltip_window_;
« no previous file with comments | « ash/shell.cc ('k') | ash/tooltips/tooltip_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698