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

Unified Diff: chrome/browser/resources/contextual_search/promo.html

Issue 456833003: [Search] Make the text swoosh away off the screen when the user taps the opt-in link. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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: chrome/browser/resources/contextual_search/promo.html
diff --git a/chrome/browser/resources/contextual_search/promo.html b/chrome/browser/resources/contextual_search/promo.html
index c0655760ceaed233cef20534eaec06c44ba11ac0..100ce012515252725ead77899096713231b95b43 100644
--- a/chrome/browser/resources/contextual_search/promo.html
+++ b/chrome/browser/resources/contextual_search/promo.html
@@ -12,10 +12,12 @@
<meta name="viewport" content="width=device-width, user-scalable=no">
</head>
<body>
- <p i18n-content="description"></p>
- <div id="button-container">
- <span class="label"><a href="#optout" i18n-content="optOut"></a></span>
- <span class="label"><a class="colored" href="#optin" i18n-content="optIn"></a></span>
+ <div id="container">
+ <p i18n-content="description"></p>
+ <div id="button-container">
+ <span class="label"><a href="#optout" i18n-content="optOut"></a></span>
+ <span class="label" onclick="addSlideClass()"><a class="colored" href="#optin" i18n-content="optIn"></a></span>
huangs 2014/08/11 16:10:51 Better style is to inject handler from JS, since i
pedro (no code reviews) 2014/08/11 17:54:06 +1
Mathieu 2014/08/11 21:11:03 Done.
Mathieu 2014/08/11 21:11:03 Done.
+ </div>
</div>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698