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

Unified Diff: chrome/browser/resources/chromeos/switch_access/background.js

Issue 2760453002: Creating options page and storing preferences. (Closed)
Patch Set: Responded to comments Created 3 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/switch_access/background.js
diff --git a/chrome/browser/resources/chromeos/switch_access/background.js b/chrome/browser/resources/chromeos/switch_access/background.js
new file mode 100644
index 0000000000000000000000000000000000000000..4d6304d7ec255f447bf9b17f5bc34c41dd8497fd
--- /dev/null
+++ b/chrome/browser/resources/chromeos/switch_access/background.js
@@ -0,0 +1,10 @@
+// Copyright 2017 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.
+
+/**
+ * Initializes SwitchAccess and adds it to the extension's background page.
+ *
+ * @type {SwitchAccess}
+ */
+window.switchAccess = new SwitchAccess();

Powered by Google App Engine
This is Rietveld 408576698