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

Unified Diff: ui/app_list/app_list_constants.h

Issue 889593003: Animate the app list search box shadow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_animations
Patch Set: move GetShadowForZHeight to app_list_constants.cc Created 5 years, 10 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 | « no previous file | ui/app_list/app_list_constants.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/app_list_constants.h
diff --git a/ui/app_list/app_list_constants.h b/ui/app_list/app_list_constants.h
index e0a5c12431d8d602895f4c4ed5d38c0dd37ed6f5..96c403832e5012828824fc3e0da3ebd0db7d4b5d 100644
--- a/ui/app_list/app_list_constants.h
+++ b/ui/app_list/app_list_constants.h
@@ -9,6 +9,7 @@
#include "ui/app_list/app_list_export.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/animation/tween.h"
+#include "ui/gfx/shadow_value.h"
namespace app_list {
@@ -43,9 +44,6 @@ APP_LIST_EXPORT extern const float kFolderBubbleRadius;
APP_LIST_EXPORT extern const float kFolderShadowRadius;
APP_LIST_EXPORT extern const float kFolderShadowOffsetY;
-APP_LIST_EXPORT extern const int kCardShadowBlur;
-APP_LIST_EXPORT extern const int kCardShadowYOffset;
-APP_LIST_EXPORT extern const SkColor kCardShadowColor;
APP_LIST_EXPORT extern const SkColor kCardBackgroundColor;
APP_LIST_EXPORT extern const int kPageTransitionDurationInMs;
@@ -84,6 +82,9 @@ APP_LIST_EXPORT extern const ui::ResourceBundle::FontStyle kItemTextFontStyle;
APP_LIST_EXPORT extern const char kAppListWMClass[];
#endif
+// Returns the shadow values for a view at |z_height|.
+gfx::ShadowValue APP_LIST_EXPORT GetShadowForZHeight(int z_height);
+
} // namespace app_list
#endif // UI_APP_LIST_APP_LIST_CONSTANTS_H_
« no previous file with comments | « no previous file | ui/app_list/app_list_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698