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

Unified Diff: chrome/browser/resources/hotword_audio_verification/event_page.js

Issue 528113003: Hotword Audio Verification App: Adds to hotwordPrivate API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@page-one
Patch Set: Rebase Created 6 years, 3 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/hotword_audio_verification/event_page.js
diff --git a/chrome/browser/resources/hotword_audio_verification/event_page.js b/chrome/browser/resources/hotword_audio_verification/event_page.js
index 744088c0fff1b26c44920db83380fbd320acef3c..ad421b3430bc5d725b5212775a80c776ea145844 100644
--- a/chrome/browser/resources/hotword_audio_verification/event_page.js
+++ b/chrome/browser/resources/hotword_audio_verification/event_page.js
@@ -3,6 +3,11 @@
// found in the LICENSE file.
chrome.app.runtime.onLaunched.addListener(function() {
+ // TODO(kcarattini): Check if the app is already running. If so, bring it
+ // to focus rather than creating a new window.
+
+ // TODO(kcarattini): Don't show the window until the launch mode has been
+ // established.
chrome.app.window.create('main.html', {
'frame': 'none',
'resizable': false,

Powered by Google App Engine
This is Rietveld 408576698