Chromium Code Reviews

Unified Diff: chrome/browser/resources/options/chromeos_internet_options.js

Issue 3526020: Redirected network details to options DOM UI page.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/resources/options/chromeos_internet_options.js
===================================================================
--- chrome/browser/resources/options/chromeos_internet_options.js (revision 61713)
+++ chrome/browser/resources/options/chromeos_internet_options.js (working copy)
@@ -64,6 +64,18 @@
chrome.send('disableCellular', []);
};
+ this.showNetworkDetails_();
+ },
+
+ showNetworkDetails_: function() {
+ var params = parseQueryParams(window.location);
+ var servicePath = params.servicePath;
+ var networkType = params.networkType;
+ if (!servicePath || !servicePath.length ||
+ !networkType || !networkType.length)
+ return;
+ chrome.send('buttonClickCallback',
+ [networkType, servicePath, "options"]);
}
};
« no previous file with comments | « chrome/browser/chromeos/status/network_menu.cc ('k') | chrome/browser/resources/options/chromeos_internet_options_page.css » ('j') | no next file with comments »

Powered by Google App Engine