diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-14 20:58:44 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-14 20:58:44 +0000 |
commit | 96b667d273c25e55150785848942c51f1a98851b (patch) | |
tree | 21ad2f8bc3a2148a517998f4ebb0157b22a75082 /chrome/views/view.h | |
parent | df40752a0913948b49086fee421b0d019f7de8da (diff) | |
download | chromium_src-96b667d273c25e55150785848942c51f1a98851b.zip chromium_src-96b667d273c25e55150785848942c51f1a98851b.tar.gz chromium_src-96b667d273c25e55150785848942c51f1a98851b.tar.bz2 |
Change all ConvertPointTo* methods to use gfx::Point instead of CPoint.
http://crbug.com/2186
Review URL: http://codereview.chromium.org/7317
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3365 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/view.h')
-rw-r--r-- | chrome/views/view.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/chrome/views/view.h b/chrome/views/view.h index 6e46336..75ef38e 100644 --- a/chrome/views/view.h +++ b/chrome/views/view.h @@ -672,24 +672,19 @@ class View : public AcceleratorTarget { static void ConvertPointToView(View* src, View* dst, gfx::Point* point); - // WARNING: DEPRECATED. Will be removed once everything is converted to - // gfx::Point. Don't add code that use this overload. - static void ConvertPointToView(View* src, - View* dst, - CPoint* point); // Convert a point from the coordinate system of a View to that of the // ViewContainer. This is useful for example when sizing HWND children // of the ViewContainer that don't know about the View hierarchy and need // to be placed relative to the ViewContainer that is their parent. - static void ConvertPointToViewContainer(View* src, CPoint* point); + static void ConvertPointToViewContainer(View* src, gfx::Point* point); // Convert a point from a view ViewContainer to a View dest - static void ConvertPointFromViewContainer(View *dest, CPoint *p); + static void ConvertPointFromViewContainer(View *dest, gfx::Point* p); // Convert a point from the coordinate system of a View to that of the // screen. This is useful for example when placing popup windows. - static void ConvertPointToScreen(View* src, CPoint* point); + static void ConvertPointToScreen(View* src, gfx::Point* point); // Event Handlers |