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

Unified Diff: ui/views/widget/native_widget_mac.mm

Issue 1137653005: MacViews: Implement Tooltips (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: respond to comments Created 5 years, 7 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 | « ui/views/views.gyp ('k') | ui/views/widget/native_widget_mac_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/native_widget_mac.mm
diff --git a/ui/views/widget/native_widget_mac.mm b/ui/views/widget/native_widget_mac.mm
index 557d498c7f6b2801432dd0142ccc5d5b42ad78df..99a199c09785e3027d866b69d5231e7750b92727 100644
--- a/ui/views/widget/native_widget_mac.mm
+++ b/ui/views/widget/native_widget_mac.mm
@@ -173,8 +173,10 @@ void* NativeWidgetMac::GetNativeWindowProperty(const char* name) const {
}
TooltipManager* NativeWidgetMac::GetTooltipManager() const {
- NOTIMPLEMENTED();
- return NULL;
+ if (bridge_)
+ return bridge_->tooltip_manager();
+
+ return nullptr;
}
void NativeWidgetMac::SetCapture() {
« no previous file with comments | « ui/views/views.gyp ('k') | ui/views/widget/native_widget_mac_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698