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

Unified Diff: chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.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/toolbar_origin_chip_view.h
diff --git a/chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.h b/chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.h
index ee08126a92883abef5f61dd91bc0f53e4f7114e8..4e74f118839406f9a0baa48e2f38b433be5a784f 100644
--- a/chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.h
+++ b/chrome/browser/ui/views/toolbar/toolbar_origin_chip_view.h
@@ -74,13 +74,13 @@ class ToolbarOriginChipView : public ToolbarButton,
// views::DragController:
virtual void WriteDragDataForView(View* sender,
- const gfx::Point& press_pt,
+ const gfx::PointF& press_pt,
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;
// SafeBrowsingUIManager::Observer:
virtual void OnSafeBrowsingHit(

Powered by Google App Engine
This is Rietveld 408576698