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

Side by Side Diff: cc/stubs/Region.h

Issue 10914268: Change cc files from namespace WebCore to cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 3 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 | « cc/stubs/IntSize.h ('k') | cc/stubs/SkiaUtils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_STUBS_REGION_H_ 5 #ifndef CC_STUBS_REGION_H_
6 #define CC_STUBS_REGION_H_ 6 #define CC_STUBS_REGION_H_
7 7
8 #include "IntRect.h"
9 #if INSIDE_WEBKIT_BUILD
10 #include "Source/WebCore/platform/graphics/Region.h"
11 #else
8 #include "third_party/WebKit/Source/WebCore/platform/graphics/Region.h" 12 #include "third_party/WebKit/Source/WebCore/platform/graphics/Region.h"
13 #endif
14
15 namespace cc {
16
17 class Region : public WebCore::Region {
18 public:
19 Region() { }
20
21 Region(const IntRect& rect)
22 : WebCore::Region(rect)
23 {
24 }
25
26 Region(const WebCore::IntRect& rect)
27 : WebCore::Region(rect)
28 {
29 }
30
31 Region(const WebCore::Region& region)
32 : WebCore::Region(region)
33 {
34 }
35 };
36
37 }
9 38
10 #endif // CC_STUBS_REGION_H_ 39 #endif // CC_STUBS_REGION_H_
OLDNEW
« no previous file with comments | « cc/stubs/IntSize.h ('k') | cc/stubs/SkiaUtils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698