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

Unified Diff: chrome/browser/resources/options/chromeos/third_party_ime_confirm_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/third_party_ime_confirm_overlay.js
diff --git a/chrome/browser/resources/options/chromeos/third_party_ime_confirm_overlay.js b/chrome/browser/resources/options/chromeos/third_party_ime_confirm_overlay.js
index 1f2d6c3eaf4ff69cf58be881b2a89b712a01b96f..98c0d41b8615f970ce0dde26c9b0bb4b4b8d0110 100644
--- a/chrome/browser/resources/options/chromeos/third_party_ime_confirm_overlay.js
+++ b/chrome/browser/resources/options/chromeos/third_party_ime_confirm_overlay.js
@@ -18,8 +18,8 @@ cr.define('options', function() {
loadTimeData.getString('thirdPartyImeConfirmOverlayTabTitle'),
'third-party-ime-confirm-overlay',
assertInstanceof($('third-party-ime-confirm-ok'), HTMLButtonElement),
- assertInstanceof($('third-party-ime-confirm-cancel'),
- HTMLButtonElement));
+ assertInstanceof(
+ $('third-party-ime-confirm-cancel'), HTMLButtonElement));
}
cr.addSingletonGetter(ThirdPartyImeConfirmOverlay);
@@ -27,19 +27,19 @@ cr.define('options', function() {
ThirdPartyImeConfirmOverlay.prototype = {
__proto__: SettingsDialog.prototype,
- /**
- * Callback to authorize use of an input method.
- * @type {Function}
- * @private
- */
- confirmationCallback_: null,
+ /**
+ * Callback to authorize use of an input method.
+ * @type {Function}
+ * @private
+ */
+ confirmationCallback_: null,
- /**
- * Callback to cancel enabling an input method.
- * @type {Function}
- * @private
- */
- cancellationCallback_: null,
+ /**
+ * Callback to cancel enabling an input method.
+ * @type {Function}
+ * @private
+ */
+ cancellationCallback_: null,
/**
* Confirms enabling of a third party IME.
@@ -67,8 +67,8 @@ cr.define('options', function() {
showConfirmationDialog_: function(data) {
this.confirmationCallback_ = data.confirm;
this.cancellationCallback_ = data.cancel;
- var message = loadTimeData.getStringF('thirdPartyImeConfirmMessage',
- data.extension);
+ var message = loadTimeData.getStringF(
+ 'thirdPartyImeConfirmMessage', data.extension);
$('third-party-ime-confirm-text').textContent = message;
PageManager.showPageByName(this.name, false);
},
@@ -85,7 +85,5 @@ cr.define('options', function() {
};
// Export
- return {
- ThirdPartyImeConfirmOverlay: ThirdPartyImeConfirmOverlay
- };
+ return {ThirdPartyImeConfirmOverlay: ThirdPartyImeConfirmOverlay};
});

Powered by Google App Engine
This is Rietveld 408576698