OLD | NEW |
(Empty) | |
| 1 #ifndef UI_CC_STUBS_REGION_H_ |
| 2 #define UI_CC_STUBS_REGION_H_ |
| 3 |
| 4 #include <wtf/Vector.h> |
| 5 #include "IntRect.h" |
| 6 |
| 7 namespace WebCore { |
| 8 class IntPoint; |
| 9 |
| 10 class Region { |
| 11 public: |
| 12 Region() { } |
| 13 Region(const IntRect&) { } |
| 14 Region(const Region&) { } |
| 15 IntRect bounds() const { return IntRect(); } |
| 16 Vector<IntRect> rects() const { return Vector<IntRect>(); } |
| 17 void unite(IntRect) { } |
| 18 void unite(Region) { } |
| 19 void subtract(Region) { } |
| 20 bool isEmpty() const { return true; } |
| 21 bool contains(const IntPoint&) const { return false; } |
| 22 bool contains(const Region&) const { return false; } |
| 23 |
| 24 }; |
| 25 |
| 26 static Region subtract(const Region&, const Region&) { return Region(); } |
| 27 static Region intersect(const Region&, const Region&) { return Region(); } |
| 28 |
| 29 bool operator==(const Region&, const Region&) { return true; } |
| 30 |
| 31 } |
| 32 |
| 33 #endif // UI_CC_STUBS_REGION_H_ |
OLD | NEW |