summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-28 19:09:45 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-28 19:09:45 +0000
commit319d4ae6c8b2236fa7e0acf218c533a5a93af5a6 (patch)
tree02a0af6473e054cf900837c42150aba81f0f8e1b
parent2eebb1a478dc282dd8ed063b16abaf7ea9ab754e (diff)
downloadchromium_src-319d4ae6c8b2236fa7e0acf218c533a5a93af5a6.zip
chromium_src-319d4ae6c8b2236fa7e0acf218c533a5a93af5a6.tar.gz
chromium_src-319d4ae6c8b2236fa7e0acf218c533a5a93af5a6.tar.bz2
Removes some NOTIMPLEMENTED now that TooltipManager exists on linux.
BUG=none TEST=none Review URL: http://codereview.chromium.org/113955 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17092 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--views/view.cc14
1 files changed, 1 insertions, 13 deletions
diff --git a/views/view.cc b/views/view.cc
index e085f15..b93c3c8 100644
--- a/views/view.cc
+++ b/views/view.cc
@@ -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 @@ bool View::GetTooltipTextOrigin(int x, int y, gfx::Point* loc) {
}
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) {