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

Unified Diff: chrome/browser/resources/options/chromeos/stylus_overlay.js

Issue 2939273002: DO NOT SUBMIT: what chrome/browser/resources/ could eventually look like with clang-format (Closed)
Patch Set: Created 3 years, 6 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/options/chromeos/stylus_overlay.js
diff --git a/chrome/browser/resources/options/chromeos/stylus_overlay.js b/chrome/browser/resources/options/chromeos/stylus_overlay.js
index 9fa277fa1789a012afb581e661c6f52e5b20b70c..3fa77f6215c7fd9cf96d17af73eeb058aa7336a3 100644
--- a/chrome/browser/resources/options/chromeos/stylus_overlay.js
+++ b/chrome/browser/resources/options/chromeos/stylus_overlay.js
@@ -9,8 +9,8 @@ cr.define('options', function() {
* @extends {options.SettingsDialog}
*/
function StylusOverlay() {
- options.SettingsDialog.call(this, 'stylus-overlay',
- loadTimeData.getString('stylusOverlayTabTitle'),
+ options.SettingsDialog.call(
+ this, 'stylus-overlay', loadTimeData.getString('stylusOverlayTabTitle'),
'stylus-overlay',
assertInstanceof($('stylus-confirm'), HTMLButtonElement),
assertInstanceof($('stylus-cancel'), HTMLButtonElement));
@@ -47,8 +47,8 @@ cr.define('options', function() {
options.SettingsDialog.prototype.initializePage.call(this);
// Disable some elements when enable stylus tools pref is false.
- Preferences.getInstance().addEventListener('settings.enable_stylus_tools',
- function(e) {
+ Preferences.getInstance().addEventListener(
+ 'settings.enable_stylus_tools', function(e) {
this.stylusToolsEnabled_ = e.value.value;
$('launch-palette-on-eject-input').disabled = !e.value.value;
this.updateNoteTakingAppsSelectDisabled_();
@@ -58,8 +58,8 @@ cr.define('options', function() {
.addEventListener(
'change', this.handleNoteTakingAppSelected_.bind(this));
- var stylusAppsUrl = "https://play.google.com/store/apps/collection/" +
- "promotion_30023cb_stylus_apps";
+ var stylusAppsUrl = 'https://play.google.com/store/apps/collection/' +
+ 'promotion_30023cb_stylus_apps';
$('stylus-find-more-link').onclick = function(event) {
chrome.send('showPlayStoreApps', [stylusAppsUrl]);
};
@@ -151,7 +151,5 @@ cr.define('options', function() {
]);
// Export
- return {
- StylusOverlay: StylusOverlay
- };
+ return {StylusOverlay: StylusOverlay};
});

Powered by Google App Engine
This is Rietveld 408576698