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

Side by Side 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, 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/cc/stubs/NotImplemented.h ('k') | ui/cc/stubs/ScrollTypes.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_
OLDNEW
« 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