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

Side by Side Diff: chrome/views/root_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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/views/menu_button.cc ('k') | chrome/views/root_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_VIEWS_ROOT_VIEW_H__ 5 #ifndef CHROME_VIEWS_ROOT_VIEW_H__
6 #define CHROME_VIEWS_ROOT_VIEW_H__ 6 #define CHROME_VIEWS_ROOT_VIEW_H__
7 7
8 #include "base/ref_counted.h" 8 #include "base/ref_counted.h"
9 #include "chrome/views/focus_manager.h" 9 #include "chrome/views/focus_manager.h"
10 #include "chrome/views/view.h" 10 #include "chrome/views/view.h"
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 private: 197 private:
198 friend class View; 198 friend class View;
199 friend class PaintTask; 199 friend class PaintTask;
200 200
201 RootView(); 201 RootView();
202 DISALLOW_EVIL_CONSTRUCTORS(RootView); 202 DISALLOW_EVIL_CONSTRUCTORS(RootView);
203 203
204 // Convert a point to our current mouse handler. Returns false if the 204 // Convert a point to our current mouse handler. Returns false if the
205 // mouse handler is not connected to a ViewContainer. In that case, the 205 // mouse handler is not connected to a ViewContainer. In that case, the
206 // conversion cannot take place and *p is unchanged 206 // conversion cannot take place and *p is unchanged
207 bool ConvertPointToMouseHandler(const CPoint &l, CPoint *p); 207 bool ConvertPointToMouseHandler(const gfx::Point& l, gfx::Point *p);
208 208
209 // Update the cursor given a mouse event. This is called by non mouse_move 209 // Update the cursor given a mouse event. This is called by non mouse_move
210 // event handlers to honor the cursor desired by views located under the 210 // event handlers to honor the cursor desired by views located under the
211 // cursor during drag operations. 211 // cursor during drag operations.
212 void UpdateCursor(const MouseEvent& e); 212 void UpdateCursor(const MouseEvent& e);
213 213
214 // Notification that size and/or position of a view has changed. This 214 // Notification that size and/or position of a view has changed. This
215 // notifies the appropriate views. 215 // notifies the appropriate views.
216 void ViewBoundsChanged(View* view, bool size_changed, bool position_changed); 216 void ViewBoundsChanged(View* view, bool size_changed, bool position_changed);
217 217
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 #ifndef NDEBUG 336 #ifndef NDEBUG
337 // True if we're currently processing paint. 337 // True if we're currently processing paint.
338 bool is_processing_paint_; 338 bool is_processing_paint_;
339 #endif 339 #endif
340 }; 340 };
341 341
342 } 342 }
343 343
344 #endif // CHROME_VIEWS_ROOT_VIEW_H__ 344 #endif // CHROME_VIEWS_ROOT_VIEW_H__
345 345
OLDNEW
« no previous file with comments | « chrome/views/menu_button.cc ('k') | chrome/views/root_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698