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

Unified Diff: chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc

Issue 265713007: views: Update event-related API to use PointF/RectF instead of Point/Rect. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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
Index: chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc
diff --git a/chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc b/chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc
index aa3b695147aa85ca215b3e0b86f10069d11cea3d..0b322ea8bb795214500d282f2badbe0bc2f00014 100644
--- a/chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc
+++ b/chrome/browser/ui/views/profiles/avatar_menu_bubble_view.cc
@@ -201,10 +201,10 @@ void EditProfileLink::OnBlur() {
// them instead.
class ProfileImageView : public views::ImageView {
public:
- virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
+ virtual bool HitTestRect(const gfx::RectF& rect) const OVERRIDE;
};
-bool ProfileImageView::HitTestRect(const gfx::Rect& rect) const {
+bool ProfileImageView::HitTestRect(const gfx::RectF& rect) const {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698