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

Unified Diff: chrome/browser/ui/views/toolbar/browser_actions_container.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: chrome/browser/ui/views/toolbar/browser_actions_container.h
diff --git a/chrome/browser/ui/views/toolbar/browser_actions_container.h b/chrome/browser/ui/views/toolbar/browser_actions_container.h
index 5c848718b3cad6d59bdba32ddf3726eeeda10d3f..4651605ad19036d50faca749f86a2889cb245f8b 100644
--- a/chrome/browser/ui/views/toolbar/browser_actions_container.h
+++ b/chrome/browser/ui/views/toolbar/browser_actions_container.h
@@ -190,13 +190,13 @@ class BrowserActionsContainer
// Overridden from views::DragController:
virtual void WriteDragDataForView(View* sender,
- const gfx::Point& press_pt,
+ const gfx::PointF& press_pt,
ui::OSExchangeData* data) OVERRIDE;
virtual int GetDragOperationsForView(View* sender,
- const gfx::Point& p) OVERRIDE;
+ const gfx::PointF& p) OVERRIDE;
virtual bool CanStartDragForView(View* sender,
- const gfx::Point& press_pt,
- const gfx::Point& p) OVERRIDE;
+ const gfx::PointF& press_pt,
+ const gfx::PointF& p) OVERRIDE;
// Overridden from views::ResizeAreaDelegate:
virtual void OnResize(int resize_amount, bool done_resizing) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698