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

Unified Diff: views/widget/native_widget_win.h

Issue 6995157: Disables tooltips if we can't create the tooltip window. I still don't (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to trunk and update comments 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
Index: views/widget/native_widget_win.h
diff --git a/views/widget/native_widget_win.h b/views/widget/native_widget_win.h
index 94bf6e20b97cb8c04a5a33ae1f03eb94ff6bb174..524fd844db4234af84908a916e8760fb737b5882 100644
--- a/views/widget/native_widget_win.h
+++ b/views/widget/native_widget_win.h
@@ -461,7 +461,8 @@ class NativeWidgetWin : public ui::WindowImpl,
focus_on_creation_ = focus_on_creation;
}
- // The TooltipManager.
+ // The TooltipManager. This is NULL if there is a problem creating the
+ // underlying tooltip window.
// WARNING: RootView's destructor calls into the TooltipManager. As such, this
// must be destroyed AFTER root_view_.
scoped_ptr<TooltipManagerWin> tooltip_manager_;

Powered by Google App Engine
This is Rietveld 408576698