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

Unified Diff: ui/views/drag_utils.h

Issue 2694023003: Make CanvasPainter raster directly to an SkBitmap (Closed)
Patch Set: Replace CanvasPainter rect with size Created 3 years, 10 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/drag_utils.h
diff --git a/ui/views/drag_utils.h b/ui/views/drag_utils.h
index 158f5cdecab0070130b6631a52995416dea87b8a..b583c1e8ae8cf6468f3066e9e731dbf35b9fa3b0 100644
--- a/ui/views/drag_utils.h
+++ b/ui/views/drag_utils.h
@@ -34,6 +34,8 @@ VIEWS_EXPORT void RunShellDrag(gfx::NativeView view,
VIEWS_EXPORT gfx::Canvas* GetCanvasForDragImage(Widget* widget,
const gfx::Size& canvas_size);
+VIEWS_EXPORT float GetDeviceScaleForNativeView(views::Widget* widget);
danakj 2017/02/14 21:37:26 same order as in .cc file. Any comment that would
+
} // namespace views
#endif // UI_VIEWS_DRAG_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698