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

Unified Diff: trunk/src/ui/gfx/image/image_unittest_util.h

Issue 24262008: Revert 224473 "Remove dependency on ui::ScaleFactor from ui/gfx" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 3 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
« no previous file with comments | « trunk/src/ui/gfx/image/image_unittest.cc ('k') | trunk/src/ui/gfx/image/image_unittest_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/ui/gfx/image/image_unittest_util.h
===================================================================
--- trunk/src/ui/gfx/image/image_unittest_util.h (revision 224498)
+++ trunk/src/ui/gfx/image/image_unittest_util.h (working copy)
@@ -8,6 +8,7 @@
#ifndef UI_GFX_IMAGE_IMAGE_UNITTEST_UTIL_H_
#define UI_GFX_IMAGE_IMAGE_UNITTEST_UTIL_H_
+#include "ui/base/layout.h"
#include "ui/gfx/image/image.h"
#include "third_party/skia/include/core/SkColor.h"
@@ -24,7 +25,7 @@
typedef gfx::ImageSkia PlatformImage;
#endif
-std::vector<float> Get1xAnd2xScales();
+std::vector<ui::ScaleFactor> Get1xAnd2xScaleFactors();
// Create a bitmap of |width|x|height|.
const SkBitmap CreateBitmap(int width, int height);
@@ -64,7 +65,7 @@
const gfx::ImageSkia& image_skia,
int width,
int height,
- const std::vector<float>& scale_factors);
+ const std::vector<ui::ScaleFactor>& scale_factors);
bool IsEmpty(const gfx::Image& image);
« no previous file with comments | « trunk/src/ui/gfx/image/image_unittest.cc ('k') | trunk/src/ui/gfx/image/image_unittest_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698