From 2d82a8160b726349984aa7756304a30b8b0f348d Mon Sep 17 00:00:00 2001 From: "sky@chromium.org" Date: Thu, 28 May 2009 16:38:07 +0000 Subject: 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 --- chrome/browser/views/tabs/tab.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'chrome') 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; } -- cgit v1.1