summaryrefslogtreecommitdiffstats
path: root/chrome/views/view.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/views/view.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/views/view.h')
-rw-r--r--chrome/views/view.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/views/view.h b/chrome/views/view.h
index 75ef38e..d56d94f 100644
--- a/chrome/views/view.h
+++ b/chrome/views/view.h
@@ -427,7 +427,7 @@ class View : public AcceleratorTarget {
int GetChildViewCount() const;
// Get the child View at the specified point.
- virtual View* GetViewForPoint(const CPoint& point);
+ virtual View* GetViewForPoint(const gfx::Point& point);
// Get the containing ViewContainer
virtual ViewContainer* GetViewContainer() const;
@@ -893,7 +893,7 @@ class View : public AcceleratorTarget {
virtual HCURSOR GetCursorForPoint(Event::EventType event_type, int x, int y);
// Convenience to test whether a point is within this view's bounds
- virtual bool HitTest(const CPoint &l) const;
+ virtual bool HitTest(const gfx::Point& l) const;
// Gets the tooltip for this View. If the View does not have a tooltip,
// return false. If the View does have a tooltip, copy the tooltip into
@@ -1022,7 +1022,8 @@ class View : public AcceleratorTarget {
void TooltipTextChanged();
// Actual implementation of GetViewForPoint.
- virtual View* GetViewForPoint(const CPoint& point, bool can_create_floating);
+ virtual View* GetViewForPoint(const gfx::Point& point,
+ bool can_create_floating);
// Sets whether this view wants notification when its visible bounds relative
// to the root view changes. If true, this view is notified any time the