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

Unified Diff: ui/gfx/skia_util.h

Issue 7569005: Rename UI_API to UI_EXPORT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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/skbitmap_operations.h ('k') | ui/gfx/skia_utils_gtk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/skia_util.h
===================================================================
--- ui/gfx/skia_util.h (revision 95624)
+++ ui/gfx/skia_util.h (working copy)
@@ -10,7 +10,7 @@
#include "third_party/skia/include/core/SkColor.h"
#include "third_party/skia/include/core/SkRect.h"
-#include "ui/ui_api.h"
+#include "ui/base/ui_export.h"
class SkBitmap;
class SkShader;
@@ -20,8 +20,8 @@
class Rect;
// Convert between Skia and gfx rect types.
-UI_API SkRect RectToSkRect(const gfx::Rect& rect);
-UI_API gfx::Rect SkRectToRect(const SkRect& rect);
+UI_EXPORT SkRect RectToSkRect(const gfx::Rect& rect);
+UI_EXPORT gfx::Rect SkRectToRect(const SkRect& rect);
// Creates a vertical gradient shader. The caller owns the shader.
// Example usage to avoid leaks:
@@ -29,18 +29,19 @@
//
// (The old shader in the paint, if any, needs to be freed, and SkSafeUnref will
// handle the NULL case.)
-UI_API SkShader* CreateGradientShader(int start_point,
- int end_point,
- SkColor start_color,
- SkColor end_color);
+UI_EXPORT SkShader* CreateGradientShader(int start_point,
+ int end_point,
+ SkColor start_color,
+ SkColor end_color);
// Returns true if the two bitmaps contain the same pixels.
-UI_API bool BitmapsAreEqual(const SkBitmap& bitmap1, const SkBitmap& bitmap2);
+UI_EXPORT bool BitmapsAreEqual(const SkBitmap& bitmap1,
+ const SkBitmap& bitmap2);
// Strip the accelerator char (typically '&') from a menu string. A
// double accelerator char ('&&') will be converted to a single char.
-UI_API std::string RemoveAcceleratorChar(const std::string& s,
- char accelerator_char);
+UI_EXPORT std::string RemoveAcceleratorChar(const std::string& s,
+ char accelerator_char);
} // namespace gfx;
« no previous file with comments | « ui/gfx/skbitmap_operations.h ('k') | ui/gfx/skia_utils_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698