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

Side by Side Diff: ui/gfx/path.h

Issue 23498059: Remove last dependencies on ui/base from ui/gfx (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: last rebase 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/gfx/pango_util.h ('k') | ui/gfx/path_win.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 UI_GFX_PATH_H_ 5 #ifndef UI_GFX_PATH_H_
6 #define UI_GFX_PATH_H_ 6 #define UI_GFX_PATH_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "third_party/skia/include/core/SkPath.h" 9 #include "third_party/skia/include/core/SkPath.h"
10 #include "ui/gfx/gfx_export.h" 10 #include "ui/gfx/gfx_export.h"
11 #include "ui/gfx/native_widget_types.h" 11 #include "ui/gfx/native_widget_types.h"
12 12
13 namespace gfx { 13 namespace gfx {
14 14
15 class UI_EXPORT Path : public SkPath { 15 class GFX_EXPORT Path : public SkPath {
16 public: 16 public:
17 // Used by Path(Point,size_t) constructor. 17 // Used by Path(Point,size_t) constructor.
18 struct Point { 18 struct Point {
19 int x; 19 int x;
20 int y; 20 int y;
21 }; 21 };
22 struct PointF { 22 struct PointF {
23 float x; 23 float x;
24 float y; 24 float y;
25 }; 25 };
(...skipping 26 matching lines...) Expand all
52 gfx::NativeRegion r2); 52 gfx::NativeRegion r2);
53 #endif 53 #endif
54 54
55 private: 55 private:
56 DISALLOW_COPY_AND_ASSIGN(Path); 56 DISALLOW_COPY_AND_ASSIGN(Path);
57 }; 57 };
58 58
59 } 59 }
60 60
61 #endif // UI_GFX_PATH_H_ 61 #endif // UI_GFX_PATH_H_
OLDNEW
« no previous file with comments | « ui/gfx/pango_util.h ('k') | ui/gfx/path_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698