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

Unified Diff: Source/platform/graphics/Region.h

Issue 27123002: Move Region.cpp/.h to platform/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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: Source/platform/graphics/Region.h
diff --git a/Source/core/platform/graphics/Region.h b/Source/platform/graphics/Region.h
similarity index 95%
rename from Source/core/platform/graphics/Region.h
rename to Source/platform/graphics/Region.h
index 14687c2db563b9f639e9176fcbebc3e93484b372..efe743903a3524846af7af16dc2166cd00b88089 100644
--- a/Source/core/platform/graphics/Region.h
+++ b/Source/platform/graphics/Region.h
@@ -26,12 +26,13 @@
#ifndef Region_h
#define Region_h
+#include "platform/PlatformExport.h"
#include "platform/geometry/IntRect.h"
#include "wtf/Vector.h"
namespace WebCore {
-class Region {
+class PLATFORM_EXPORT Region {
public:
Region();
Region(const IntRect&);
@@ -83,12 +84,12 @@ private:
bool isRect() const { return m_spans.size() <= 2 && m_segments.size() <= 2; }
typedef const Span* SpanIterator;
- SpanIterator spans_begin() const;
- SpanIterator spans_end() const;
+ SpanIterator spansBegin() const;
+ SpanIterator spansEnd() const;
typedef const int* SegmentIterator;
- SegmentIterator segments_begin(SpanIterator) const;
- SegmentIterator segments_end(SpanIterator) const;
+ SegmentIterator segmentsBegin(SpanIterator) const;
+ SegmentIterator segmentsEnd(SpanIterator) const;
static Shape unionShapes(const Shape& shape1, const Shape& shape2);
static Shape intersectShapes(const Shape& shape1, const Shape& shape2);

Powered by Google App Engine
This is Rietveld 408576698