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

Unified Diff: chrome/browser/resources/set_as_default_browser.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/set_as_default_browser.js
diff --git a/chrome/browser/resources/set_as_default_browser.js b/chrome/browser/resources/set_as_default_browser.js
index 34f83a9086e2329509de7b08f0adb6b98af3272f..254704b5e7441469c9ecfb96aad35c149364478d 100644
--- a/chrome/browser/resources/set_as_default_browser.js
+++ b/chrome/browser/resources/set_as_default_browser.js
@@ -3,14 +3,14 @@
// found in the LICENSE file.
(function() {
- // Since all we want here is forwarding of certain commands, all can be done
- // in the anonymous function's scope.
+// Since all we want here is forwarding of certain commands, all can be done
+// in the anonymous function's scope.
- function wireUpWindow() {
- $('launch-button').addEventListener('click', function() {
- chrome.send('SetAsDefaultBrowser:LaunchSetDefaultBrowserFlow');
- });
- }
+function wireUpWindow() {
+ $('launch-button').addEventListener('click', function() {
+ chrome.send('SetAsDefaultBrowser:LaunchSetDefaultBrowserFlow');
+ });
+}
- window.addEventListener('DOMContentLoaded', wireUpWindow);
+window.addEventListener('DOMContentLoaded', wireUpWindow);
})();

Powered by Google App Engine
This is Rietveld 408576698