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

Issue 754313003: app_shell: Fix focus on opening new app windows (Closed)

Created:
6 years ago by James Cook
Modified:
6 years ago
Reviewers:
oshima
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

app_shell: Fix focus on opening new app windows app_shell is pure-aura, so cannot rely on the usual views::WebView and views::Widget initial-focus behavior. It must manually set focus on the WebContents during creation. BUG=438751 TEST=added to app_shell_browsertests ShellApiTest Committed: https://crrev.com/521a0ab34bc5c60ff3545c4a4ce1aafa918c3877 Cr-Commit-Position: refs/heads/master@{#307040}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -2 lines) Patch
M extensions/shell/browser/shell_app_delegate.h View 2 chunks +8 lines, -2 lines 0 comments Download
M extensions/shell/browser/shell_app_delegate.cc View 3 chunks +9 lines, -0 lines 2 comments Download
M extensions/shell/browser/shell_browsertest.cc View 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
James Cook
oshima, PTAL
6 years ago (2014-12-04 22:17:06 UTC) #2
oshima
https://codereview.chromium.org/754313003/diff/1/extensions/shell/browser/shell_app_delegate.cc File extensions/shell/browser/shell_app_delegate.cc (right): https://codereview.chromium.org/754313003/diff/1/extensions/shell/browser/shell_app_delegate.cc#newcode20 extensions/shell/browser/shell_app_delegate.cc:20: Observe(web_contents); just a q: don't you have to stop ...
6 years ago (2014-12-04 23:38:07 UTC) #3
James Cook
https://codereview.chromium.org/754313003/diff/1/extensions/shell/browser/shell_app_delegate.cc File extensions/shell/browser/shell_app_delegate.cc (right): https://codereview.chromium.org/754313003/diff/1/extensions/shell/browser/shell_app_delegate.cc#newcode20 extensions/shell/browser/shell_app_delegate.cc:20: Observe(web_contents); On 2014/12/04 23:38:07, oshima wrote: > just a ...
6 years ago (2014-12-05 02:01:50 UTC) #4
oshima
lgtm
6 years ago (2014-12-05 02:09:08 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/754313003/1
6 years ago (2014-12-05 02:11:52 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_dbg/builds/23313)
6 years ago (2014-12-05 02:35:32 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/754313003/1
6 years ago (2014-12-05 17:33:37 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
6 years ago (2014-12-05 17:47:51 UTC) #12
commit-bot: I haz the power
6 years ago (2014-12-05 17:48:31 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/521a0ab34bc5c60ff3545c4a4ce1aafa918c3877
Cr-Commit-Position: refs/heads/master@{#307040}

Powered by Google App Engine
This is Rietveld 408576698