summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-28 16:38:07 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-28 16:38:07 +0000
commit2d82a8160b726349984aa7756304a30b8b0f348d (patch)
tree2dcd71741555c0d61edeaf2047efb046128d55f1 /chrome
parent68b0b5c1fab5460850b3d48ba356b244c4239258 (diff)
downloadchromium_src-2d82a8160b726349984aa7756304a30b8b0f348d.zip
chromium_src-2d82a8160b726349984aa7756304a30b8b0f348d.tar.gz
chromium_src-2d82a8160b726349984aa7756304a30b8b0f348d.tar.bz2
Splits TooltipManager so that it can be ported and stubs out the GTK
side. BUG=none TEST=none Review URL: http://codereview.chromium.org/114054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17076 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/views/tabs/tab.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/browser/views/tabs/tab.cc b/chrome/browser/views/tabs/tab.cc
index 6118699..7891063 100644
--- a/chrome/browser/views/tabs/tab.cc
+++ b/chrome/browser/views/tabs/tab.cc
@@ -214,9 +214,7 @@ bool Tab::GetTooltipText(int x, int y, std::wstring* tooltip) {
bool Tab::GetTooltipTextOrigin(int x, int y, gfx::Point* origin) {
gfx::Font font;
origin->set_x(title_bounds().x() + 10);
-#if defined(OS_WIN)
origin->set_y(-views::TooltipManager::GetTooltipHeight() - 4);
-#endif
return true;
}