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

Issue 671333002: Hotword Audio Verification App: Fix window handling. (Closed)

Created:
6 years, 2 months ago by kcarattini
Modified:
6 years, 1 month ago
Reviewers:
benwells, Dan Beam
CC:
chromium-reviews, arv+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Hotword Audio Verification App: Fix window handling. Minimizes the time of the blank page before before the app UI shows. Focuses the app rather than opening another window if the app is already running. BUG=390086 Committed: https://crrev.com/6fdf39c8fcf627270840b321cf329d53ab7261d1 Cr-Commit-Position: refs/heads/master@{#301993}

Patch Set 1 #

Patch Set 2 : Remove debugging code #

Total comments: 3

Patch Set 3 : Review comments #

Patch Set 4 : Removed blank line #

Total comments: 5

Patch Set 5 : Review comments #

Patch Set 6 : Rebase #

Patch Set 7 : Review comments #

Patch Set 8 : Rebase #

Total comments: 10

Patch Set 9 : Review comments #

Patch Set 10 : Typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -5 lines) Patch
M chrome/browser/resources/hotword_audio_verification/event_page.js View 1 2 3 4 5 6 7 8 9 1 chunk +15 lines, -4 lines 0 comments Download
M chrome/browser/resources/hotword_audio_verification/flow.js View 7 8 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 21 (3 generated)
kcarattini
dbeam: please review for OWNERS approval in chrome/browser/resources/...
6 years, 2 months ago (2014-10-24 00:20:04 UTC) #3
Dan Beam
https://codereview.chromium.org/671333002/diff/20001/chrome/browser/resources/hotword_audio_verification/event_page.js File chrome/browser/resources/hotword_audio_verification/event_page.js (right): https://codereview.chromium.org/671333002/diff/20001/chrome/browser/resources/hotword_audio_verification/event_page.js#newcode12 chrome/browser/resources/hotword_audio_verification/event_page.js:12: } seems like this should already happen[1]: """ If ...
6 years, 2 months ago (2014-10-24 00:31:48 UTC) #4
kcarattini
https://codereview.chromium.org/671333002/diff/20001/chrome/browser/resources/hotword_audio_verification/event_page.js File chrome/browser/resources/hotword_audio_verification/event_page.js (right): https://codereview.chromium.org/671333002/diff/20001/chrome/browser/resources/hotword_audio_verification/event_page.js#newcode12 chrome/browser/resources/hotword_audio_verification/event_page.js:12: } On 2014/10/24 00:31:48, Dan Beam wrote: > seems ...
6 years, 2 months ago (2014-10-24 00:35:27 UTC) #5
Dan Beam
On 2014/10/24 00:35:27, kcarattini wrote: > https://codereview.chromium.org/671333002/diff/20001/chrome/browser/resources/hotword_audio_verification/event_page.js > File chrome/browser/resources/hotword_audio_verification/event_page.js (right): > > https://codereview.chromium.org/671333002/diff/20001/chrome/browser/resources/hotword_audio_verification/event_page.js#newcode12 > ...
6 years, 2 months ago (2014-10-24 00:49:01 UTC) #6
kcarattini
https://codereview.chromium.org/671333002/diff/20001/chrome/browser/resources/hotword_audio_verification/event_page.js File chrome/browser/resources/hotword_audio_verification/event_page.js (right): https://codereview.chromium.org/671333002/diff/20001/chrome/browser/resources/hotword_audio_verification/event_page.js#newcode12 chrome/browser/resources/hotword_audio_verification/event_page.js:12: } On 2014/10/24 00:35:27, kcarattini wrote: > On 2014/10/24 ...
6 years, 2 months ago (2014-10-24 02:28:35 UTC) #7
Dan Beam
https://codereview.chromium.org/671333002/diff/60001/chrome/browser/resources/hotword_audio_verification/flow.js File chrome/browser/resources/hotword_audio_verification/flow.js (right): https://codereview.chromium.org/671333002/diff/60001/chrome/browser/resources/hotword_audio_verification/flow.js#newcode85 chrome/browser/resources/hotword_audio_verification/flow.js:85: chrome.app.window.current().show(); can current() return null or undefined?
6 years, 2 months ago (2014-10-24 02:37:19 UTC) #8
benwells
https://codereview.chromium.org/671333002/diff/60001/chrome/browser/resources/hotword_audio_verification/event_page.js File chrome/browser/resources/hotword_audio_verification/event_page.js (right): https://codereview.chromium.org/671333002/diff/60001/chrome/browser/resources/hotword_audio_verification/event_page.js#newcode8 chrome/browser/resources/hotword_audio_verification/event_page.js:8: // TODO(kcarattini): Remove this when crbug/426725 is fixed. I ...
6 years, 2 months ago (2014-10-24 04:34:18 UTC) #9
kcarattini
https://codereview.chromium.org/671333002/diff/60001/chrome/browser/resources/hotword_audio_verification/event_page.js File chrome/browser/resources/hotword_audio_verification/event_page.js (right): https://codereview.chromium.org/671333002/diff/60001/chrome/browser/resources/hotword_audio_verification/event_page.js#newcode8 chrome/browser/resources/hotword_audio_verification/event_page.js:8: // TODO(kcarattini): Remove this when crbug/426725 is fixed. On ...
6 years, 2 months ago (2014-10-25 02:54:26 UTC) #10
benwells
lgtm
6 years, 1 month ago (2014-10-27 02:03:00 UTC) #11
Dan Beam
https://codereview.chromium.org/671333002/diff/60001/chrome/browser/resources/hotword_audio_verification/flow.js File chrome/browser/resources/hotword_audio_verification/flow.js (right): https://codereview.chromium.org/671333002/diff/60001/chrome/browser/resources/hotword_audio_verification/flow.js#newcode85 chrome/browser/resources/hotword_audio_verification/flow.js:85: chrome.app.window.current().show(); On 2014/10/24 02:37:19, Dan Beam wrote: > can ...
6 years, 1 month ago (2014-10-27 15:53:38 UTC) #12
kcarattini
https://codereview.chromium.org/671333002/diff/60001/chrome/browser/resources/hotword_audio_verification/flow.js File chrome/browser/resources/hotword_audio_verification/flow.js (right): https://codereview.chromium.org/671333002/diff/60001/chrome/browser/resources/hotword_audio_verification/flow.js#newcode85 chrome/browser/resources/hotword_audio_verification/flow.js:85: chrome.app.window.current().show(); On 2014/10/27 15:53:38, Dan Beam wrote: > On ...
6 years, 1 month ago (2014-10-27 22:59:19 UTC) #13
Dan Beam
https://codereview.chromium.org/671333002/diff/140001/chrome/browser/resources/hotword_audio_verification/event_page.js File chrome/browser/resources/hotword_audio_verification/event_page.js (right): https://codereview.chromium.org/671333002/diff/140001/chrome/browser/resources/hotword_audio_verification/event_page.js#newcode10 chrome/browser/resources/hotword_audio_verification/event_page.js:10: var appWindow = chrome.app.window.get(appId); what if this window is ...
6 years, 1 month ago (2014-10-27 23:13:20 UTC) #14
kcarattini
https://codereview.chromium.org/671333002/diff/140001/chrome/browser/resources/hotword_audio_verification/event_page.js File chrome/browser/resources/hotword_audio_verification/event_page.js (right): https://codereview.chromium.org/671333002/diff/140001/chrome/browser/resources/hotword_audio_verification/event_page.js#newcode10 chrome/browser/resources/hotword_audio_verification/event_page.js:10: var appWindow = chrome.app.window.get(appId); On 2014/10/27 23:13:20, Dan Beam ...
6 years, 1 month ago (2014-10-27 23:24:12 UTC) #15
Dan Beam
lgtm https://codereview.chromium.org/671333002/diff/140001/chrome/browser/resources/hotword_audio_verification/event_page.js File chrome/browser/resources/hotword_audio_verification/event_page.js (right): https://codereview.chromium.org/671333002/diff/140001/chrome/browser/resources/hotword_audio_verification/event_page.js#newcode10 chrome/browser/resources/hotword_audio_verification/event_page.js:10: var appWindow = chrome.app.window.get(appId); On 2014/10/27 23:24:12, kcarattini ...
6 years, 1 month ago (2014-10-27 23:29:20 UTC) #16
kcarattini
https://codereview.chromium.org/671333002/diff/140001/chrome/browser/resources/hotword_audio_verification/event_page.js File chrome/browser/resources/hotword_audio_verification/event_page.js (right): https://codereview.chromium.org/671333002/diff/140001/chrome/browser/resources/hotword_audio_verification/event_page.js#newcode10 chrome/browser/resources/hotword_audio_verification/event_page.js:10: var appWindow = chrome.app.window.get(appId); On 2014/10/27 23:29:20, Dan Beam ...
6 years, 1 month ago (2014-10-27 23:57:20 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/671333002/180001
6 years, 1 month ago (2014-10-29 23:14:26 UTC) #19
commit-bot: I haz the power
Committed patchset #10 (id:180001)
6 years, 1 month ago (2014-10-30 00:39:15 UTC) #20
commit-bot: I haz the power
6 years, 1 month ago (2014-10-30 00:39:56 UTC) #21
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/6fdf39c8fcf627270840b321cf329d53ab7261d1
Cr-Commit-Position: refs/heads/master@{#301993}

Powered by Google App Engine
This is Rietveld 408576698