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

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

Issue 555983002: [Search] Tweak the styling for the first-run experience (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More tweaks Created 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/contextual_search/promo.js
diff --git a/chrome/browser/resources/contextual_search/promo.js b/chrome/browser/resources/contextual_search/promo.js
index dfdf1eff11cb81ffa5a248ceddd33a42f15a5157..e1a367ca99ba2a1e4015946c790d6e40df964034 100644
--- a/chrome/browser/resources/contextual_search/promo.js
+++ b/chrome/browser/resources/contextual_search/promo.js
@@ -12,3 +12,10 @@ window.onload = function() {
$('container').classList.add('hide');
});
};
+
+/**
+ * @return {number} The height of the content, in pixels.
pedro (no code reviews) 2014/09/11 20:33:22 Put a comment here explaining that this will be ca
Mathieu 2014/09/11 20:43:45 Done.
+ */
+function getContentHeight() {
+ return $('container').clientHeight;
+}
« no previous file with comments | « chrome/browser/resources/contextual_search/promo.html ('k') | chrome/browser/search/contextual_search_promo_source_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698