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

Unified Diff: views/view.cc

Issue 113955: Removes some NOTIMPLEMENTED now that TooltipManager exists on linux.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/view.cc
===================================================================
--- views/view.cc (revision 17077)
+++ views/view.cc (working copy)
@@ -21,10 +21,10 @@
#include "views/layout_manager.h"
#include "views/views_delegate.h"
#include "views/widget/root_view.h"
+#include "views/widget/tooltip_manager.h"
#include "views/widget/widget.h"
#include "views/window/window.h"
#if defined(OS_WIN)
-#include "views/widget/tooltip_manager.h"
#include "views/accessibility/view_accessibility_wrapper.h"
#endif
@@ -1222,27 +1222,15 @@
}
void View::TooltipTextChanged() {
-#if defined(OS_WIN)
Widget* widget = GetWidget();
if (widget && widget->GetTooltipManager())
widget->GetTooltipManager()->TooltipTextChanged(this);
-#else
- // TODO(port): Not actually windows specific; I just haven't ported this part
- // yet.
- NOTIMPLEMENTED();
-#endif
}
void View::UpdateTooltip() {
-#if defined(OS_WIN)
Widget* widget = GetWidget();
if (widget && widget->GetTooltipManager())
widget->GetTooltipManager()->UpdateTooltip();
-#else
- // TODO(port): Not actually windows specific; I just haven't ported this part
- // yet.
- NOTIMPLEMENTED();
-#endif
}
void View::SetParentOwned(bool f) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698