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

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

Issue 2054473003: Implement update notifications for ChromeVox Next. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test. 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/background.js
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js
index 707f5ce86d8a3bb03fabaceb64bb0d8d639ed623..347460328ff598acc735cf3b781d78a3e9c7ea16 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js
@@ -15,6 +15,7 @@ goog.require('AutomationUtil');
goog.require('ChromeVoxState');
goog.require('LiveRegions');
goog.require('NextEarcons');
+goog.require('Notifications');
goog.require('Output');
goog.require('Output.EventType');
goog.require('PanelCommand');
@@ -144,8 +145,9 @@ Background = function() {
if (cvox.ChromeVox.isChromeOS) {
chrome.accessibilityPrivate.onAccessibilityGesture.addListener(
this.onAccessibilityGesture_);
- }
-};
+
+ Notifications.onStartup();
+ }};
/**
* @const {string}
@@ -670,6 +672,10 @@ Background.prototype = {
var explorerPage = {url: 'chromevox/background/kbexplorer.html'};
chrome.tabs.create(explorerPage);
break;
+ case 'showNextUpdatePage':
+ var nextUpdatePage = {url: 'cvox2/background/next_update.html'};
+ chrome.tabs.create(nextUpdatePage);
+ break;
case 'decreaseTtsRate':
this.increaseOrDecreaseSpeechProperty_(cvox.AbstractTts.RATE, false);
return false;

Powered by Google App Engine
This is Rietveld 408576698