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

Unified Diff: chrome/common/extensions/docs/examples/extensions/proxy_configuration/popup.js

Issue 8273036: Adding `content_security_policy` to proxy sample extension. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: License, docs. Created 9 years, 2 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/common/extensions/docs/examples/extensions/proxy_configuration/popup.js
diff --git a/chrome/common/extensions/docs/examples/extensions/proxy_configuration/popup.js b/chrome/common/extensions/docs/examples/extensions/proxy_configuration/popup.js
new file mode 100644
index 0000000000000000000000000000000000000000..1c1f36dd6c92b83274abc064e8e03a8ffea598dc
--- /dev/null
+++ b/chrome/common/extensions/docs/examples/extensions/proxy_configuration/popup.js
@@ -0,0 +1,14 @@
+// Copyright (c) 2011 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 This file initializes the extension's popup by creating a
+ * ProxyFormController object.
+ *
+ * @author Mike West <mkwst@google.com>
+ */
+
+document.addEventListener('DOMContentLoaded', function () {
+ var c = new ProxyFormController( 'proxyForm' );
+});

Powered by Google App Engine
This is Rietveld 408576698