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

Unified Diff: chrome/browser/resources/settings/people_page/people_page.html

Issue 2224163002: Settings Router Refactor: Replace route.subpage usage with route.path (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 4 years, 4 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/settings/people_page/people_page.html
diff --git a/chrome/browser/resources/settings/people_page/people_page.html b/chrome/browser/resources/settings/people_page/people_page.html
index 4d961520476e7cfbcbbc025472bbdc9a06260cd2..c95460316ac725899196db0b54bda6f92c4e0d52 100644
--- a/chrome/browser/resources/settings/people_page/people_page.html
+++ b/chrome/browser/resources/settings/people_page/people_page.html
@@ -73,7 +73,7 @@
}
</style>
<settings-animated-pages id="pages" section="people">
- <neon-animatable id="main">
+ <neon-animatable route-path="default">
<div id="picture-subpage-trigger" class="settings-box first two-line">
<img id="profile-icon" src="[[profileIconUrl_]]"
on-tap="onPictureTap_" actionable>
@@ -239,7 +239,7 @@
</div>
</template>
</neon-animatable>
- <template is="dom-if" name="sync"
+ <template is="dom-if" route-path="/syncSetup"
no-search$="[[!isAdvancedSyncSettingsVisible_(syncStatus)]]">
<settings-subpage
associated-control="[[$$('#customize-sync')]]"
@@ -250,7 +250,7 @@
</template>
<if expr="chromeos">
<template is="dom-if" if="[[quickUnlockEnabled_]]">
- <template is="dom-if" name="lockScreen">
+ <template is="dom-if" route-path="/lockScreen" no-search>
<settings-subpage page-title="$i18n{lockScreenTitle}">
<settings-lock-screen
prefs="{{prefs}}">
@@ -258,14 +258,14 @@
</settings-subpage>
</template>
</template>
- <template is="dom-if" name="users">
+ <template is="dom-if" route-path="/accounts">
<settings-subpage
associated-control="[[$$('#manage-other-people-subpage-trigger')]]"
page-title="$i18n{usersPageTitle}">
<settings-users-page prefs="{{prefs}}"></settings-users-page>
</settings-subpage>
</template>
- <template is="dom-if" name="changePicture">
+ <template is="dom-if" route-path="/changePicture">
<settings-subpage
associated-control="[[$$('#picture-subpage-trigger')]]"
page-title="$i18n{changePictureTitle}">
@@ -274,7 +274,7 @@
</template>
</if>
<if expr="not chromeos">
- <template is="dom-if" name="manageProfile">
+ <template is="dom-if" route-path="/manageProfile">
<settings-subpage
associated-control="[[$$('#picture-subpage-trigger')]]"
page-title="$i18n{editPerson}">

Powered by Google App Engine
This is Rietveld 408576698