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

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

Issue 467113004: Adds a skeleton component app for Always-On Hotwording opt-in flow. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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/background.js
diff --git a/chrome/browser/resources/chromeos/first_run/app/background.js b/chrome/browser/resources/hotword_audio_verification/background.js
similarity index 76%
copy from chrome/browser/resources/chromeos/first_run/app/background.js
copy to chrome/browser/resources/hotword_audio_verification/background.js
index 5d1ba842e5d9380d2ff644289cc2818cfc247d26..c9162e56dffd32f10db88dad66a36647d8eb6787 100644
--- a/chrome/browser/resources/chromeos/first_run/app/background.js
+++ b/chrome/browser/resources/hotword_audio_verification/background.js
@@ -6,8 +6,9 @@ chrome.app.runtime.onLaunched.addListener(function() {
chrome.app.window.create('main.html', {
'frame': 'none',
'resizable': false,
- 'hidden': true,
- }, function(appWindow) {
- appWindow.contentWindow.appWindow = appWindow;
+ 'bounds': {
+ 'width': 710,
+ 'height': 535
rpetterson 2014/08/19 18:55:29 I assume these sizes are from the mocks? Is there
kcarattini 2014/08/20 03:13:27 Yes, the size is about the size of the mock. Hwi w
+ }
});
});

Powered by Google App Engine
This is Rietveld 408576698