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

Unified Diff: views/widget/tooltip_manager_win.h

Issue 7253016: Merge 88897 - Disables tooltips if we can't create the tooltip window. I still don't (Closed) Base URL: svn://svn.chromium.org/chrome/branches/782/src/
Patch Set: Created 9 years, 6 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 | « views/widget/native_widget_win.cc ('k') | views/widget/tooltip_manager_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/tooltip_manager_win.h
===================================================================
--- views/widget/tooltip_manager_win.h (revision 90643)
+++ views/widget/tooltip_manager_win.h (working copy)
@@ -62,6 +62,11 @@
explicit TooltipManagerWin(Widget* widget);
virtual ~TooltipManagerWin();
+ // Initializes the TooltipManager returning whether initialization was
+ // successful. If this returns false the TooltipManager should be destroyed
+ // and not used.
+ bool Init();
+
// Notification that the view hierarchy has changed in some way.
virtual void UpdateTooltip();
@@ -79,8 +84,6 @@
LRESULT OnNotify(int w_param, NMHDR* l_param, bool* handled);
protected:
- virtual void Init();
-
// Returns the Widget we're showing tooltips for.
gfx::NativeView GetParent();
« no previous file with comments | « views/widget/native_widget_win.cc ('k') | views/widget/tooltip_manager_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698