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

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

Issue 7328011: Introduce ui.dll / libui.so for the component build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "third_party/skia/include/core/SkPath.h"
10 #include "ui/gfx/native_widget_types.h" 11 #include "ui/gfx/native_widget_types.h"
11 12 #include "ui/ui_api.h"
12 #include "third_party/skia/include/core/SkPath.h"
13 13
14 namespace gfx { 14 namespace gfx {
15 15
16 class Path : public SkPath { 16 class UI_API Path : public SkPath {
17 public: 17 public:
18 // Used by Path(Point,size_t) constructor. 18 // Used by Path(Point,size_t) constructor.
19 struct Point { 19 struct Point {
20 int x; 20 int x;
21 int y; 21 int y;
22 }; 22 };
23 23
24 Path(); 24 Path();
25 25
26 // Creates a path populated with the specified points. 26 // Creates a path populated with the specified points.
(...skipping 21 matching lines...) Expand all
48 gfx::NativeRegion r2); 48 gfx::NativeRegion r2);
49 #endif 49 #endif
50 50
51 private: 51 private:
52 DISALLOW_COPY_AND_ASSIGN(Path); 52 DISALLOW_COPY_AND_ASSIGN(Path);
53 }; 53 };
54 54
55 } 55 }
56 56
57 #endif // UI_GFX_PATH_H_ 57 #endif // UI_GFX_PATH_H_
OLDNEW
« no previous file with comments | « ui/gfx/native_widget_types.h ('k') | ui/gfx/platform_font.h » ('j') | ui/ui.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698