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

Side by Side Diff: chrome/browser/resources/settings/route.js

Issue 2796783005: MD Settings: Google Play Store: Add subpage and polish (Take 2) (Closed)
Patch Set: nit Created 3 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 cr.define('settings', function() { 5 cr.define('settings', function() {
6 /** 6 /**
7 * Class for navigable routes. May only be instantiated within this file. 7 * Class for navigable routes. May only be instantiated within this file.
8 * @constructor 8 * @constructor
9 * @param {string} path 9 * @param {string} path
10 * @private 10 * @private
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 r.FONTS = r.APPEARANCE.createChild('/fonts'); 126 r.FONTS = r.APPEARANCE.createChild('/fonts');
127 127
128 r.DEFAULT_BROWSER = 128 r.DEFAULT_BROWSER =
129 r.BASIC.createSection('/defaultBrowser', 'defaultBrowser'); 129 r.BASIC.createSection('/defaultBrowser', 'defaultBrowser');
130 130
131 r.SEARCH = r.BASIC.createSection('/search', 'search'); 131 r.SEARCH = r.BASIC.createSection('/search', 'search');
132 r.SEARCH_ENGINES = r.SEARCH.createChild('/searchEngines'); 132 r.SEARCH_ENGINES = r.SEARCH.createChild('/searchEngines');
133 133
134 // <if expr="chromeos"> 134 // <if expr="chromeos">
135 r.ANDROID_APPS = r.BASIC.createSection('/androidApps', 'androidApps'); 135 r.ANDROID_APPS = r.BASIC.createSection('/androidApps', 'androidApps');
136 r.ANDROID_APPS_DETAILS = r.ANDROID_APPS.createChild('/androidApps/details');
136 // </if> 137 // </if>
137 138
138 r.ON_STARTUP = r.BASIC.createSection('/onStartup', 'onStartup'); 139 r.ON_STARTUP = r.BASIC.createSection('/onStartup', 'onStartup');
139 140
140 r.PEOPLE = r.BASIC.createSection('/people', 'people'); 141 r.PEOPLE = r.BASIC.createSection('/people', 'people');
141 r.SYNC = r.PEOPLE.createChild('/syncSetup'); 142 r.SYNC = r.PEOPLE.createChild('/syncSetup');
142 // <if expr="not chromeos"> 143 // <if expr="not chromeos">
143 r.MANAGE_PROFILE = r.PEOPLE.createChild('/manageProfile'); 144 r.MANAGE_PROFILE = r.PEOPLE.createChild('/manageProfile');
144 // </if> 145 // </if>
145 // <if expr="chromeos"> 146 // <if expr="chromeos">
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 getRouteForPath: getRouteForPath, 424 getRouteForPath: getRouteForPath,
424 initializeRouteFromUrl: initializeRouteFromUrl, 425 initializeRouteFromUrl: initializeRouteFromUrl,
425 resetRouteForTesting: resetRouteForTesting, 426 resetRouteForTesting: resetRouteForTesting,
426 getCurrentRoute: getCurrentRoute, 427 getCurrentRoute: getCurrentRoute,
427 getQueryParameters: getQueryParameters, 428 getQueryParameters: getQueryParameters,
428 lastRouteChangeWasPopstate: lastRouteChangeWasPopstate, 429 lastRouteChangeWasPopstate: lastRouteChangeWasPopstate,
429 navigateTo: navigateTo, 430 navigateTo: navigateTo,
430 navigateToPreviousRoute: navigateToPreviousRoute, 431 navigateToPreviousRoute: navigateToPreviousRoute,
431 }; 432 };
432 }); 433 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698