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

Side by Side Diff: chrome/browser/resources/options/advanced_options.js

Issue 6374005: DOMUI Prefs: Fix the initial visibility of Search (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/resources/options/search_page.html » ('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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 cr.define('options', function() { 5 cr.define('options', function() {
6 6
7 var OptionsPage = options.OptionsPage; 7 var OptionsPage = options.OptionsPage;
8 8
9 // 9 //
10 // AdvancedOptions class 10 // AdvancedOptions class
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 $('remotingStopButton').style.display = 'inline'; 254 $('remotingStopButton').style.display = 'inline';
255 } else { 255 } else {
256 $('remotingSetupButton').style.display = 'inline'; 256 $('remotingSetupButton').style.display = 'inline';
257 $('remotingStopButton').style.display = 'none'; 257 $('remotingStopButton').style.display = 'none';
258 } 258 }
259 $('remotingStatus').textContent = status; 259 $('remotingStatus').textContent = status;
260 }; 260 };
261 261
262 AdvancedOptions.RemoveRemotingSection = function() { 262 AdvancedOptions.RemoveRemotingSection = function() {
263 var proxySectionElm = $('remoting-section'); 263 var proxySectionElm = $('remoting-section');
264 proxySectionElm.parentNode.removeChild(proxySectionElm); 264 if (proxySectionElm)
265 proxySectionElm.parentNode.removeChild(proxySectionElm);
265 }; 266 };
266 267
267 // Export 268 // Export
268 return { 269 return {
269 AdvancedOptions: AdvancedOptions 270 AdvancedOptions: AdvancedOptions
270 }; 271 };
271 272
272 }); 273 });
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/options/search_page.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698