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

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

Issue 2541923002: MD Settings: Add Google Play Store (Arc++) section (Closed)
Patch Set: Fix tests Created 4 years 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 108
109 r.APPEARANCE = r.BASIC.createSection('/appearance', 'appearance'); 109 r.APPEARANCE = r.BASIC.createSection('/appearance', 'appearance');
110 r.FONTS = r.APPEARANCE.createChild('/fonts'); 110 r.FONTS = r.APPEARANCE.createChild('/fonts');
111 111
112 r.DEFAULT_BROWSER = 112 r.DEFAULT_BROWSER =
113 r.BASIC.createSection('/defaultBrowser', 'defaultBrowser'); 113 r.BASIC.createSection('/defaultBrowser', 'defaultBrowser');
114 114
115 r.SEARCH = r.BASIC.createSection('/search', 'search'); 115 r.SEARCH = r.BASIC.createSection('/search', 'search');
116 r.SEARCH_ENGINES = r.SEARCH.createChild('/searchEngines'); 116 r.SEARCH_ENGINES = r.SEARCH.createChild('/searchEngines');
117 117
118 <if expr="chromeos">
119 r.ANDROID_APPS = r.BASIC.createSection('/androidApps', 'androidApps');
120 </if>
121
118 r.ON_STARTUP = r.BASIC.createSection('/onStartup', 'onStartup'); 122 r.ON_STARTUP = r.BASIC.createSection('/onStartup', 'onStartup');
119 123
120 r.PEOPLE = r.BASIC.createSection('/people', 'people'); 124 r.PEOPLE = r.BASIC.createSection('/people', 'people');
121 r.SYNC = r.PEOPLE.createChild('/syncSetup'); 125 r.SYNC = r.PEOPLE.createChild('/syncSetup');
122 <if expr="not chromeos"> 126 <if expr="not chromeos">
123 r.MANAGE_PROFILE = r.PEOPLE.createChild('/manageProfile'); 127 r.MANAGE_PROFILE = r.PEOPLE.createChild('/manageProfile');
124 </if> 128 </if>
125 <if expr="chromeos"> 129 <if expr="chromeos">
126 r.CHANGE_PICTURE = r.PEOPLE.createChild('/changePicture'); 130 r.CHANGE_PICTURE = r.PEOPLE.createChild('/changePicture');
127 r.ACCOUNTS = r.PEOPLE.createChild('/accounts'); 131 r.ACCOUNTS = r.PEOPLE.createChild('/accounts');
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 RouteObserverBehavior: RouteObserverBehavior, 385 RouteObserverBehavior: RouteObserverBehavior,
382 getRouteForPath: getRouteForPath, 386 getRouteForPath: getRouteForPath,
383 initializeRouteFromUrl: initializeRouteFromUrl, 387 initializeRouteFromUrl: initializeRouteFromUrl,
384 getCurrentRoute: getCurrentRoute, 388 getCurrentRoute: getCurrentRoute,
385 getQueryParameters: getQueryParameters, 389 getQueryParameters: getQueryParameters,
386 lastRouteChangeWasPopstate: lastRouteChangeWasPopstate, 390 lastRouteChangeWasPopstate: lastRouteChangeWasPopstate,
387 navigateTo: navigateTo, 391 navigateTo: navigateTo,
388 navigateToPreviousRoute: navigateToPreviousRoute, 392 navigateToPreviousRoute: navigateToPreviousRoute,
389 }; 393 };
390 }); 394 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/icons.html ('k') | chrome/browser/resources/settings/settings_main/settings_main.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698