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

Unified Diff: ui/gfx/image/image_util.h

Issue 23498059: Remove last dependencies on ui/base from ui/gfx (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: last rebase 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 | « ui/gfx/image/image_skia_util_mac.h ('k') | ui/gfx/insets.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/image/image_util.h
diff --git a/ui/gfx/image/image_util.h b/ui/gfx/image/image_util.h
index a039557a8f0e210ef38312c1c55d9ee919fc9f45..f33835ca2321b970de526bfffb57a18cc50d46c7 100644
--- a/ui/gfx/image/image_util.h
+++ b/ui/gfx/image/image_util.h
@@ -18,8 +18,8 @@ namespace gfx {
// Creates an image from the given JPEG-encoded input. If there was an error
// creating the image, returns an IsEmpty() Image.
-UI_EXPORT Image ImageFrom1xJPEGEncodedData(const unsigned char* input,
- size_t input_size);
+GFX_EXPORT Image ImageFrom1xJPEGEncodedData(const unsigned char* input,
+ size_t input_size);
// Fills the |dst| vector with JPEG-encoded bytes of the 1x representation of
// the given image.
@@ -27,9 +27,9 @@ UI_EXPORT Image ImageFrom1xJPEGEncodedData(const unsigned char* input,
// was encoded successfully.
// |quality| determines the compression level, 0 == lowest, 100 == highest.
// Returns true if the Image was encoded successfully.
-UI_EXPORT bool JPEG1xEncodedDataFromImage(const Image& image,
- int quality,
- std::vector<unsigned char>* dst);
+GFX_EXPORT bool JPEG1xEncodedDataFromImage(const Image& image,
+ int quality,
+ std::vector<unsigned char>* dst);
} // namespace gfx
« no previous file with comments | « ui/gfx/image/image_skia_util_mac.h ('k') | ui/gfx/insets.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698