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

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

Issue 23486010: Adds a gfx_export.h to ui/gfx and converts all code in ui/gfx to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix find and replace error. Created 7 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 | « ui/gfx/selection_model.h ('k') | ui/gfx/size.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_SHADOW_VALUE_H_ 5 #ifndef UI_GFX_SHADOW_VALUE_H_
6 #define UI_GFX_SHADOW_VALUE_H_ 6 #define UI_GFX_SHADOW_VALUE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "third_party/skia/include/core/SkColor.h" 11 #include "third_party/skia/include/core/SkColor.h"
12 #include "ui/base/ui_export.h" 12 #include "ui/gfx/gfx_export.h"
13 #include "ui/gfx/point.h" 13 #include "ui/gfx/point.h"
14 14
15 namespace gfx { 15 namespace gfx {
16 16
17 class Insets; 17 class Insets;
18 18
19 class ShadowValue; 19 class ShadowValue;
20 typedef std::vector<ShadowValue> ShadowValues; 20 typedef std::vector<ShadowValue> ShadowValues;
21 21
22 // ShadowValue encapsulates parameters needed to define a shadow, including the 22 // ShadowValue encapsulates parameters needed to define a shadow, including the
(...skipping 30 matching lines...) Expand all
53 // transitions from full shadow color to fully transparent and with 2 pixels 53 // transitions from full shadow color to fully transparent and with 2 pixels
54 // inside the shadow and 2 pixels goes beyond the edge. 54 // inside the shadow and 2 pixels goes beyond the edge.
55 double blur_; 55 double blur_;
56 56
57 SkColor color_; 57 SkColor color_;
58 }; 58 };
59 59
60 } // namespace gfx 60 } // namespace gfx
61 61
62 #endif // UI_GFX_SHADOW_VALUE_H_ 62 #endif // UI_GFX_SHADOW_VALUE_H_
OLDNEW
« no previous file with comments | « ui/gfx/selection_model.h ('k') | ui/gfx/size.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698