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

Unified Diff: chrome/browser/resources/chromeos/proxy_settings.js

Issue 9702011: Migrate proxy-settings.html to options2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix copyright notices. Created 8 years, 9 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/chromeos/proxy_settings.js
diff --git a/chrome/browser/resources/chromeos/proxy_settings.js b/chrome/browser/resources/chromeos/proxy_settings.js
index aca24dd7420eafc29ddd02641e650c21fbf03842..a59c8cfbc725c9db39b7516deba2d0778c88669e 100644
--- a/chrome/browser/resources/chromeos/proxy_settings.js
+++ b/chrome/browser/resources/chromeos/proxy_settings.js
@@ -1,10 +1,10 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
var OptionsPage = options.OptionsPage;
var Preferences = options.Preferences;
-var ProxyOptions = options.ProxyOptions;
+var DetailsInternetPage = options.internet.DetailsInternetPage;
/**
* DOMContentLoaded handler, sets up the page.
@@ -23,7 +23,7 @@ function load() {
cr.ui.decorate('select[pref]', options.PrefSelect);
cr.ui.decorate('input[pref][type=text]', options.PrefTextField);
cr.ui.decorate('input[pref][type=url]', options.PrefTextField);
- ProxyOptions.getInstance().initializePage();
+ DetailsInternetPage.initializeProxySettings();
// TODO(ivankr): remove when http://crosbug.com/20660 is resolved.
var inputs = document.querySelectorAll('input[pref]');
@@ -36,7 +36,7 @@ function load() {
Preferences.getInstance().initialize();
chrome.send('coreOptionsInitialize');
- ProxyOptions.getInstance().visible = true;
+ DetailsInternetPage.showProxySettings();
}
document.addEventListener('DOMContentLoaded', load);
« no previous file with comments | « chrome/browser/resources/chromeos/proxy_settings.html ('k') | chrome/browser/resources/options2/chromeos/internet_detail.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698