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

Side by Side Diff: chrome/browser/resources/settings/system_page/system_page_delegate.js

Issue 1775803002: MD Settings: add a semi-functional System page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v2-md_history
Patch Set: stevenjb@ review Created 4 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 /** @fileoverview Handles interprocess communcation for the system page. */
6
7 cr.define('settings', function() {
8 /** @interface */
9 function SystemPageDelegate() {}
10
11 SystemPageDelegate.prototype = {
12 /** Allows the user to change native system proxy settings. */
13 changeProxySettings: assertNotReached,
14 };
15
16 /**
17 * @constructor
18 * @implements {settings.SystemPageDelegate}
19 */
20 function SystemPageDelegateImpl() {}
21
22 SystemPageDelegateImpl.prototype = {
23 /** @override */
24 changeProxySettings: function() {
25 chrome.send('changeProxySettings');
26 },
27 };
28
29 return {
30 SystemPageDelegate: SystemPageDelegate,
31 SystemPageDelegateImpl: SystemPageDelegateImpl,
32 };
33 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698