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

Unified Diff: chrome/browser/resources/shared/js/cr/ui/card_slider.js

Issue 9318017: [NTP4] Redesign of notification promo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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 | « chrome/browser/resources/ntp4/tile_page.js ('k') | chrome/browser/resources/shared/js/parse_html_subset.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/shared/js/cr/ui/card_slider.js
diff --git a/chrome/browser/resources/shared/js/cr/ui/card_slider.js b/chrome/browser/resources/shared/js/cr/ui/card_slider.js
index 16120f5f5bd3df11bde5620f2a6b0b0925bd3f09..f7da9aa002afd9229f44fa44e1da20302f8da5dc 100644
--- a/chrome/browser/resources/shared/js/cr/ui/card_slider.js
+++ b/chrome/browser/resources/shared/js/cr/ui/card_slider.js
@@ -221,6 +221,14 @@ cr.define('cr.ui', function() {
},
/**
+ * Returns the frame holding the cards.
+ * @return {Element} The frame used to position the cards.
+ */
+ get frame() {
+ return this.frame_;
+ },
+
+ /**
* Handle horizontal scrolls to flip between pages.
* @private
*/
« no previous file with comments | « chrome/browser/resources/ntp4/tile_page.js ('k') | chrome/browser/resources/shared/js/parse_html_subset.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698