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

Unified Diff: ui/gfx/size.h

Issue 7328011: Introduce ui.dll / libui.so for the component build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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/gfx/size.h
===================================================================
--- ui/gfx/size.h (revision 92815)
+++ ui/gfx/size.h (working copy)
@@ -6,10 +6,11 @@
#define UI_GFX_SIZE_H_
#pragma once
+#include <iosfwd>
+
#include "build/build_config.h"
+#include "ui/ui_api.h"
-#include <iosfwd>
-
#if defined(OS_WIN)
typedef struct tagSIZE SIZE;
#elif defined(OS_MACOSX)
@@ -19,7 +20,7 @@
namespace gfx {
// A size has width and height values.
-class Size {
+class UI_API Size {
public:
Size() : width_(0), height_(0) {}
Size(int width, int height);
@@ -75,7 +76,7 @@
int height_;
};
-std::ostream& operator<<(std::ostream& out, const gfx::Size& s);
+UI_API std::ostream& operator<<(std::ostream& out, const gfx::Size& s);
} // namespace gfx
« no previous file with comments | « ui/gfx/scrollbar_size.h ('k') | ui/gfx/skbitmap_operations.h » ('j') | ui/ui.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698