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

Unified Diff: ui/views/button_drag_utils.h

Issue 2750253002: Reland 4e4eae4cbe6136b538a: Make download item drags look like bookmark (Closed)
Patch Set: with fix Created 3 years, 9 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: ui/views/button_drag_utils.h
diff --git a/ui/views/button_drag_utils.h b/ui/views/button_drag_utils.h
index 8f1a7eedf7d8eec4f8ef408c6f0aadef5a01eb60..360c3e4bc65d2a33d18bb0fe47a453b2bde4cf35 100644
--- a/ui/views/button_drag_utils.h
+++ b/ui/views/button_drag_utils.h
@@ -32,16 +32,16 @@ VIEWS_EXPORT void SetURLAndDragImage(const GURL& url,
const base::string16& title,
const gfx::ImageSkia& icon,
const gfx::Point* press_pt,
- ui::OSExchangeData* data,
- views::Widget* widget);
+ const views::Widget& widget,
Evan Stade 2017/03/16 00:03:30 widget isn't allowed to be null and out params are
+ ui::OSExchangeData* data);
// As above, but only sets the image.
VIEWS_EXPORT void SetDragImage(const GURL& url,
const base::string16& title,
const gfx::ImageSkia& icon,
const gfx::Point* press_pt,
- ui::OSExchangeData* data,
- views::Widget* widget);
+ const views::Widget& widget,
+ ui::OSExchangeData* data);
} // namespace drag_utils

Powered by Google App Engine
This is Rietveld 408576698