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

Unified Diff: ui/gfx/shadow_value.h

Issue 10453035: Clean up SkBitmapOperations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/app_list/app_list_item_view.cc ('k') | ui/gfx/shadow_value.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/shadow_value.h
diff --git a/ui/gfx/shadow_value.h b/ui/gfx/shadow_value.h
index 8ca9196394c7dd4893c3d8ee5f2f06d1c5912483..06f5026c21e3869d38bd3f95d31e5f6886510397 100644
--- a/ui/gfx/shadow_value.h
+++ b/ui/gfx/shadow_value.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_GFX_SHADOW_VALUE_
-#define UI_GFX_SHADOW_VALUE_
+#ifndef UI_GFX_SHADOW_VALUE_H_
+#define UI_GFX_SHADOW_VALUE_H_
#pragma once
#include <string>
@@ -17,6 +17,9 @@ namespace gfx {
class Insets;
+class ShadowValue;
+typedef std::vector<ShadowValue> ShadowValues;
+
// ShadowValue encapsulates parameters needed to define a shadow, including the
// shadow's offset, blur amount and color.
class UI_EXPORT ShadowValue {
@@ -35,7 +38,7 @@ class UI_EXPORT ShadowValue {
// Gets margin space needed for shadows. Note that values in returned Insets
// are negative because shadow margins are outside a boundary.
- static Insets GetMargin(const std::vector<ShadowValue>& shadows);
+ static Insets GetMargin(const ShadowValues& shadows);
private:
gfx::Point offset_;
@@ -55,4 +58,4 @@ class UI_EXPORT ShadowValue {
} // namespace gfx
-#endif // UI_GFX_SHADOW_VALUE_
+#endif // UI_GFX_SHADOW_VALUE_H_
« no previous file with comments | « ui/app_list/app_list_item_view.cc ('k') | ui/gfx/shadow_value.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698