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

Side by Side Diff: chrome/browser/resources/chromeos/proxy_settings.js

Issue 2944703004: Run clang-format on .js files in c/b/r/chromeos (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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 var Preferences = options.Preferences; 5 var Preferences = options.Preferences;
6 var DetailsInternetPage = options.internet.DetailsInternetPage; 6 var DetailsInternetPage = options.internet.DetailsInternetPage;
7 7
8 /** 8 /**
9 * DOMContentLoaded handler, sets up the page. 9 * DOMContentLoaded handler, sets up the page.
10 */ 10 */
(...skipping 30 matching lines...) Expand all
41 network = ''; 41 network = '';
42 } 42 }
43 chrome.send('selectNetwork', [network]); 43 chrome.send('selectNetwork', [network]);
44 44
45 DetailsInternetPage.showProxySettings(); 45 DetailsInternetPage.showProxySettings();
46 } 46 }
47 47
48 disableTextSelectAndDrag(function(e) { 48 disableTextSelectAndDrag(function(e) {
49 var src = e.target; 49 var src = e.target;
50 return src instanceof HTMLTextAreaElement || 50 return src instanceof HTMLTextAreaElement ||
51 src instanceof HTMLInputElement && 51 src instanceof HTMLInputElement && /text|url/.test(src.type);
52 /text|url/.test(src.type);
53 }); 52 });
54 53
55 document.addEventListener('DOMContentLoaded', load); 54 document.addEventListener('DOMContentLoaded', load);
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/power.js ('k') | chrome/browser/resources/chromeos/quick_unlock/md_pin_keyboard.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698