summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/tabs/tab_strip.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-14 23:45:09 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-14 23:45:09 +0000
commit613b80638081101368e31300f6e729c720b160e0 (patch)
tree0b3dc7c7e0dde27abc814d13bdff3a1758ccde2f /chrome/browser/views/tabs/tab_strip.h
parent41a5ca123f45f471457485e87681c02a21a2f052 (diff)
downloadchromium_src-613b80638081101368e31300f6e729c720b160e0.zip
chromium_src-613b80638081101368e31300f6e729c720b160e0.tar.gz
chromium_src-613b80638081101368e31300f6e729c720b160e0.tar.bz2
Convert HitTest/GetViewForPoint to use gfx::Point
http://crbug.com/2186 Review URL: http://codereview.chromium.org/7331 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3384 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/tabs/tab_strip.h')
-rw-r--r--chrome/browser/views/tabs/tab_strip.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/views/tabs/tab_strip.h b/chrome/browser/views/tabs/tab_strip.h
index ea50fd4..4d53fa1 100644
--- a/chrome/browser/views/tabs/tab_strip.h
+++ b/chrome/browser/views/tabs/tab_strip.h
@@ -111,8 +111,8 @@ class TabStrip : public ChromeViews::View,
virtual bool GetAccessibleRole(VARIANT* role);
virtual bool GetAccessibleName(std::wstring* name);
virtual void SetAccessibleName(const std::wstring& name);
- virtual ChromeViews::View* GetViewForPoint(const CPoint& point);
- virtual ChromeViews::View* GetViewForPoint(const CPoint& point,
+ virtual ChromeViews::View* GetViewForPoint(const gfx::Point& point);
+ virtual ChromeViews::View* GetViewForPoint(const gfx::Point& point,
bool can_create_floating);
protected:
@@ -277,7 +277,7 @@ class TabStrip : public ChromeViews::View,
// Returns true if the specified point in TabStrip coords is within the
// hit-test region of the specified Tab.
- bool IsPointInTab(Tab* tab, const CPoint& point_in_tabstrip_coords);
+ bool IsPointInTab(Tab* tab, const gfx::Point& point_in_tabstrip_coords);
// -- Member Variables ------------------------------------------------------