Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7795)

Unified Diff: chrome/views/view.h

Issue 7317: Change all ConvertPointTo* methods to use gfx::Point instead of CPoint.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/views/tree_view.cc ('k') | chrome/views/view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/views/view.h
===================================================================
--- chrome/views/view.h (revision 3348)
+++ chrome/views/view.h (working copy)
@@ -672,24 +672,19 @@
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
« no previous file with comments | « chrome/views/tree_view.cc ('k') | chrome/views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698