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

Unified Diff: chrome/browser/resources/chromeos/chromevox/cvox2/background/notifications.js

Issue 2092743002: Revert of Make ChromeVox Next a setting in options page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/chromevox/cvox2/background/notifications.js
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/notifications.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/notifications.js
index e07e88b7bf735b00a81b0c42172c5fef1f61c20d..d5f3f30d5702c75b489f752abb03212b92a05921 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/notifications.js
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/notifications.js
@@ -66,17 +66,3 @@
new UpdateNotification().show();
};
-
-/**
- * Runs notifications that should be shown for mode changes.
- */
-Notifications.onModeChange = function() {
- // Only run on background page.
- if (document.location.href.indexOf('background.html') == -1)
- return;
-
- if (ChromeVoxState.instance.mode !== ChromeVoxMode.FORCE_NEXT)
- return;
-
- new UpdateNotification().show();
-};

Powered by Google App Engine
This is Rietveld 408576698