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

Unified Diff: chrome/browser/resources/hotword_audio_verification/event_page.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: Rebase 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/event_page.js
diff --git a/chrome/browser/resources/chromeos/first_run/app/background.js b/chrome/browser/resources/hotword_audio_verification/event_page.js
similarity index 61%
copy from chrome/browser/resources/chromeos/first_run/app/background.js
copy to chrome/browser/resources/hotword_audio_verification/event_page.js
index 5d1ba842e5d9380d2ff644289cc2818cfc247d26..c734c78f4d99dd0c3dae239443cbad09d69dcb94 100644
--- a/chrome/browser/resources/chromeos/first_run/app/background.js
+++ b/chrome/browser/resources/hotword_audio_verification/event_page.js
@@ -1,4 +1,4 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
+// Copyright 2014 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.
@@ -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
+ }
});
});

Powered by Google App Engine
This is Rietveld 408576698