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

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

Issue 2278783002: Add 80% and 250% zoom level to settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add 250% and update comments Created 4 years, 3 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
« no previous file with comments | « chrome/browser/resources/pdf/viewport.js ('k') | components/zoom/page_zoom_constants.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 /** 5 /**
6 * 'settings-appearance-page' is the settings page containing appearance 6 * 'settings-appearance-page' is the settings page containing appearance
7 * settings. 7 * settings.
8 * 8 *
9 * Example: 9 * Example:
10 * 10 *
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 */ 77 */
78 pageZoomOptions_: { 78 pageZoomOptions_: {
79 readOnly: true, 79 readOnly: true,
80 type: Array, 80 type: Array,
81 value: [ 81 value: [
82 {value: 25, name: '25%'}, 82 {value: 25, name: '25%'},
83 {value: 33, name: '33%'}, 83 {value: 33, name: '33%'},
84 {value: 50, name: '50%'}, 84 {value: 50, name: '50%'},
85 {value: 67, name: '67%'}, 85 {value: 67, name: '67%'},
86 {value: 75, name: '75%'}, 86 {value: 75, name: '75%'},
87 {value: 80, name: '80%'},
87 {value: 90, name: '90%'}, 88 {value: 90, name: '90%'},
88 {value: 100, name: '100%'}, 89 {value: 100, name: '100%'},
89 {value: 110, name: '110%'}, 90 {value: 110, name: '110%'},
90 {value: 125, name: '125%'}, 91 {value: 125, name: '125%'},
91 {value: 150, name: '150%'}, 92 {value: 150, name: '150%'},
92 {value: 175, name: '175%'}, 93 {value: 175, name: '175%'},
93 {value: 200, name: '200%'}, 94 {value: 200, name: '200%'},
95 {value: 250, name: '250%'},
94 {value: 300, name: '300%'}, 96 {value: 300, name: '300%'},
95 {value: 400, name: '400%'}, 97 {value: 400, name: '400%'},
96 {value: 500, name: '500%'}, 98 {value: 500, name: '500%'},
97 ], 99 ],
98 }, 100 },
99 101
100 /** @private */ 102 /** @private */
101 themeSublabel_: String, 103 themeSublabel_: String,
102 104
103 /** 105 /**
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 218
217 /** 219 /**
218 * @param {boolean} bookmarksBarVisible if bookmarks bar option is visible. 220 * @param {boolean} bookmarksBarVisible if bookmarks bar option is visible.
219 * @return {string} 'first' if the argument is false or empty otherwise. 221 * @return {string} 'first' if the argument is false or empty otherwise.
220 * @private 222 * @private
221 */ 223 */
222 getFirst_: function(bookmarksBarVisible) { 224 getFirst_: function(bookmarksBarVisible) {
223 return !bookmarksBarVisible ? 'first' : ''; 225 return !bookmarksBarVisible ? 'first' : '';
224 } 226 }
225 }); 227 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/pdf/viewport.js ('k') | components/zoom/page_zoom_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698