| Index: chrome/browser/resources/settings/internet_page/network_proxy_exclusions.js
|
| diff --git a/chrome/browser/resources/settings/internet_page/network_proxy_exclusions.js b/chrome/browser/resources/settings/internet_page/network_proxy_exclusions.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ca8f2d323ed83e4f5cfc34d42de8013560dc71c2
|
| --- /dev/null
|
| +++ b/chrome/browser/resources/settings/internet_page/network_proxy_exclusions.js
|
| @@ -0,0 +1,38 @@
|
| +// Copyright 2015 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.
|
| +
|
| +/**
|
| + * @fileoverview Polymer element for displaying a list of proxy exclusions.
|
| + * Includes UI for adding, changing, and removing entries.
|
| + */
|
| +
|
| +(function() {
|
| +
|
| +Polymer({
|
| + is: 'network-proxy-exclusions',
|
| +
|
| + properties: {
|
| + /**
|
| + * The list of exclusions.
|
| + * @type {!Array<string>}
|
| + */
|
| + exclusions: {
|
| + type: Array,
|
| + value: function() { return []; },
|
| + notify: true
|
| + }
|
| + },
|
| +
|
| + /**
|
| + * Event triggered when an item is removed.
|
| + * @private
|
| + */
|
| + removeItem_: function(event) {
|
| + var index = event.model.index;
|
| + this.splice('exclusions', index, 1);
|
| + console.debug('network-proxy-exclusions: removed: ' + index);
|
| + this.fire('changed');
|
| + }
|
| +});
|
| +})();
|
|
|