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

Side by Side Diff: chrome/browser/resources/options/chromeos/internet_options.js

Issue 7133001: Don't put chrome://settings/detailsInternetPage in address bar and history (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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 var OptionsPage = options.OptionsPage; 6 var OptionsPage = options.OptionsPage;
7 const ArrayDataModel = cr.ui.ArrayDataModel; 7 const ArrayDataModel = cr.ui.ArrayDataModel;
8 8
9 ///////////////////////////////////////////////////////////////////////////// 9 /////////////////////////////////////////////////////////////////////////////
10 // InternetOptions class: 10 // InternetOptions class:
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 $('inetProviderType').textContent = data.provider_type; 491 $('inetProviderType').textContent = data.provider_type;
492 $('inetUsername').textContent = data.username; 492 $('inetUsername').textContent = data.username;
493 } else { 493 } else {
494 OptionsPage.showTab($('internetNavTab')); 494 OptionsPage.showTab($('internetNavTab'));
495 detailsPage.ethernet = true; 495 detailsPage.ethernet = true;
496 detailsPage.wireless = false; 496 detailsPage.wireless = false;
497 detailsPage.vpn = false; 497 detailsPage.vpn = false;
498 detailsPage.cellular = false; 498 detailsPage.cellular = false;
499 detailsPage.gsm = false; 499 detailsPage.gsm = false;
500 } 500 }
501 OptionsPage.navigateToPage('detailsInternetPage'); 501 // Don't show page name in address bar and in history to prevent people
502 // navigate here by hand and solve issue with page session restore.
503 OptionsPage.showPageByName('detailsInternetPage', false);
502 }; 504 };
503 505
504 // Export 506 // Export
505 return { 507 return {
506 InternetOptions: InternetOptions 508 InternetOptions: InternetOptions
507 }; 509 };
508 }); 510 });
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698