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

Unified Diff: chrome/browser/resources/settings/languages_page/edit_dictionary_page.js

Issue 2792463002: [MD settings] set scroll target for custom word spellings subpage (Closed)
Patch Set: Created 3 years, 9 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/settings/languages_page/edit_dictionary_page.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/languages_page/edit_dictionary_page.js
diff --git a/chrome/browser/resources/settings/languages_page/edit_dictionary_page.js b/chrome/browser/resources/settings/languages_page/edit_dictionary_page.js
index c8c3939de95c0f005991d606028e46ab3c85d682..162641be47e6a85d8fe0877cf8e19d1b917e6e2f 100644
--- a/chrome/browser/resources/settings/languages_page/edit_dictionary_page.js
+++ b/chrome/browser/resources/settings/languages_page/edit_dictionary_page.js
@@ -9,10 +9,21 @@
Polymer({
is: 'settings-edit-dictionary-page',
+ behaviors: [settings.GlobalScrollTargetBehavior],
+
properties: {
/** @private {string} */
newWordValue_: String,
+ /**
+ * Needed by GlobalScrollTargetBehavior.
+ * @override
+ */
+ subpageRoute: {
+ type: Object,
+ value: settings.Route.EDIT_DICTIONARY,
+ },
+
/** @private {!Array<string>} */
words_: {
type: Array,
« no previous file with comments | « chrome/browser/resources/settings/languages_page/edit_dictionary_page.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698