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

Unified Diff: ios/chrome/share_extension/ui_util.h

Issue 2617993002: Animate IOS Share extension button. (Closed)
Patch Set: real cleaning Created 3 years, 11 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
Index: ios/chrome/share_extension/ui_util.h
diff --git a/ios/chrome/share_extension/ui_util.h b/ios/chrome/share_extension/ui_util.h
index 864b776a0c3c9decdd7c270d0a63b0c64d45d243..67ce20175e655113c1d72a980c267f78ecabe59f 100644
--- a/ios/chrome/share_extension/ui_util.h
+++ b/ios/chrome/share_extension/ui_util.h
@@ -7,6 +7,9 @@
namespace ui_util {
+// Standard animation timing for the extension.
+extern const CGFloat kAnimationDuration;
+
// Returns the closest pixel-aligned value less than |value|, taking the scale
// factor into account. At a scale of 1, equivalent to floor().
CGFloat AlignValueToPixel(CGFloat value);

Powered by Google App Engine
This is Rietveld 408576698