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

Unified Diff: ui/cc/stubs/Region.h

Issue 10701016: Initial import attempt, just to play with. Many things disabled/removed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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/cc/stubs/NotImplemented.h ('k') | ui/cc/stubs/ScrollTypes.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/cc/stubs/Region.h
diff --git a/ui/cc/stubs/Region.h b/ui/cc/stubs/Region.h
new file mode 100644
index 0000000000000000000000000000000000000000..8758c32a26db451be6f95f65e15ae6cd9426b630
--- /dev/null
+++ b/ui/cc/stubs/Region.h
@@ -0,0 +1,33 @@
+#ifndef UI_CC_STUBS_REGION_H_
+#define UI_CC_STUBS_REGION_H_
+
+#include <wtf/Vector.h>
+#include "IntRect.h"
+
+namespace WebCore {
+class IntPoint;
+
+class Region {
+public:
+ Region() { }
+ Region(const IntRect&) { }
+ Region(const Region&) { }
+ IntRect bounds() const { return IntRect(); }
+ Vector<IntRect> rects() const { return Vector<IntRect>(); }
+ void unite(IntRect) { }
+ void unite(Region) { }
+ void subtract(Region) { }
+ bool isEmpty() const { return true; }
+ bool contains(const IntPoint&) const { return false; }
+ bool contains(const Region&) const { return false; }
+
+};
+
+static Region subtract(const Region&, const Region&) { return Region(); }
+static Region intersect(const Region&, const Region&) { return Region(); }
+
+bool operator==(const Region&, const Region&) { return true; }
+
+}
+
+#endif // UI_CC_STUBS_REGION_H_
« no previous file with comments | « ui/cc/stubs/NotImplemented.h ('k') | ui/cc/stubs/ScrollTypes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698