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

Unified Diff: chrome/browser/history_view.cc

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/browser/find_in_page_controller.cc ('k') | chrome/browser/views/bookmark_bar_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history_view.cc
===================================================================
--- chrome/browser/history_view.cc (revision 3348)
+++ chrome/browser/history_view.cc (working copy)
@@ -557,11 +557,11 @@
void HistoryItemRenderer::StarStateChanged(bool state) {
// Show the user a tip that can be used to edit the bookmark/star.
- CPoint star_location(0, 0);
+ gfx::Point star_location;
ChromeViews::View::ConvertPointToScreen(star_toggle_, &star_location);
// Shift the location to make the bubble appear at a visually pleasing
// location.
- gfx::Rect star_bounds(star_location.x, star_location.y + 4,
+ gfx::Rect star_bounds(star_location.x(), star_location.y() + 4,
star_toggle_->width(),
star_toggle_->height());
HWND parent = GetViewContainer()->GetHWND();
« no previous file with comments | « chrome/browser/find_in_page_controller.cc ('k') | chrome/browser/views/bookmark_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698