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

Unified Diff: ash/shelf/shelf_button.h

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: ash/shelf/shelf_button.h
diff --git a/ash/shelf/shelf_button.h b/ash/shelf/shelf_button.h
index 96fab246c3ef947c698f54177668d7bedd3cb0e0..6d2e06366ee4ba73717b2f5daa79f56f62ec96a6 100644
--- a/ash/shelf/shelf_button.h
+++ b/ash/shelf/shelf_button.h
@@ -83,7 +83,7 @@ class ASH_EXPORT ShelfButton : public views::CustomButton {
int icon_size() const { return icon_size_; }
// views::View overrides.
- virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE;
+ virtual bool HitTestRect(const gfx::RectF& rect) const OVERRIDE;
private:
// Set to non-zero to force icons to be resized to fit within a square,

Powered by Google App Engine
This is Rietveld 408576698