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

Unified Diff: chrome/browser/resources/ntp4/tile_page.js

Issue 9254023: [NTP4] Track the position of each app that's launched. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: key board shortcuts fix, misinterpretation of my own class, :/ Created 8 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: chrome/browser/resources/ntp4/tile_page.js
diff --git a/chrome/browser/resources/ntp4/tile_page.js b/chrome/browser/resources/ntp4/tile_page.js
index 11907ffc0764741d560911dbf4de49d2b2687ab4..b242da48c54198780b83461fe66032d5090d10f1 100644
--- a/chrome/browser/resources/ntp4/tile_page.js
+++ b/chrome/browser/resources/ntp4/tile_page.js
@@ -470,11 +470,19 @@ cr.define('ntp4', function() {
return this.tileElements_.length;
},
+ get tileGrid() {
+ return this.tileGrid_;
+ },
+
get selected() {
return Array.prototype.indexOf.call(this.parentNode.children, this) ==
ntp4.getCardSlider().currentCard;
},
+ get layoutValues() {
+ return this.layoutValues_;
+ },
+
/**
* The size of the margin (unused space) on the sides of the tile grid, in
* pixels.

Powered by Google App Engine
This is Rietveld 408576698