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

Issue 2636303002: [Chromecast] Add support for z-order and window focus. (Closed)

Created:
3 years, 11 months ago by Joshua LeVasseur
Modified:
3 years, 10 months ago
CC:
chromium-reviews, alokp+watch_chromium.org, lcwu+watch_chromium.org, halliwell+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Chromecast] Add support for z-order and window focus. BUG=internal b/33046596, internal b/33047358, internal b/34103918 TEST=keyboard input should work in a window with google.com Change-Id: I01d9ae64d3175298d439577e4c83bea4ada6203f Review-Url: https://codereview.chromium.org/2636303002 Cr-Commit-Position: refs/heads/master@{#447006} Committed: https://chromium.googlesource.com/chromium/src/+/ff442c09047c888651b3b43a8e8d4955092d33ea

Patch Set 1 #

Patch Set 2 : proper dependency #

Patch Set 3 : rebase #

Patch Set 4 : rebase #

Patch Set 5 : rebased on final dependent cl #

Total comments: 16

Patch Set 6 : applied Derek's feedback #

Patch Set 7 : fix macro #

Total comments: 8

Patch Set 8 : simplification #

Patch Set 9 : Simplifications and unit tests. #

Total comments: 15

Patch Set 10 : Applied feedback #

Patch Set 11 : more tests, and bug fix found by test #

Total comments: 16

Patch Set 12 : Applied reviewer feedback #

Patch Set 13 : added unit test to address feedback #

Patch Set 14 : reviewer feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+727 lines, -4 lines) Patch
M chromecast/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -0 lines 0 comments Download
M chromecast/graphics/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +24 lines, -0 lines 0 comments Download
M chromecast/graphics/DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +3 lines, -0 lines 0 comments Download
A chromecast/graphics/cast_focus_client_aura.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +65 lines, -0 lines 0 comments Download
A chromecast/graphics/cast_focus_client_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +226 lines, -0 lines 0 comments Download
A chromecast/graphics/cast_focus_client_aura_test.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +163 lines, -0 lines 0 comments Download
M chromecast/graphics/cast_window_manager.h View 1 2 3 4 5 6 7 1 chunk +11 lines, -0 lines 0 comments Download
M chromecast/graphics/cast_window_manager_aura.h View 1 2 3 4 5 6 7 8 9 3 chunks +2 lines, -2 lines 0 comments Download
M chromecast/graphics/cast_window_manager_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +62 lines, -2 lines 0 comments Download
A chromecast/graphics/cast_window_manager_aura_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +116 lines, -0 lines 0 comments Download
A chromecast/graphics/run_all_unittests.cc View 1 2 3 4 5 6 7 8 1 chunk +51 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 41 (23 generated)
Joshua LeVasseur
3 years, 11 months ago (2017-01-17 23:01:30 UTC) #2
Joshua LeVasseur
This is ready for review.
3 years, 11 months ago (2017-01-19 17:22:27 UTC) #3
derekjchow1
https://codereview.chromium.org/2636303002/diff/80001/chromecast/graphics/cast_window_manager.h File chromecast/graphics/cast_window_manager.h (right): https://codereview.chromium.org/2636303002/diff/80001/chromecast/graphics/cast_window_manager.h#newcode22 chromecast/graphics/cast_window_manager.h:22: enum { Where is this enum actually used? https://codereview.chromium.org/2636303002/diff/80001/chromecast/graphics/cast_window_manager.h#newcode24 ...
3 years, 11 months ago (2017-01-19 18:12:13 UTC) #4
Joshua LeVasseur
https://codereview.chromium.org/2636303002/diff/80001/chromecast/graphics/cast_window_manager.h File chromecast/graphics/cast_window_manager.h (right): https://codereview.chromium.org/2636303002/diff/80001/chromecast/graphics/cast_window_manager.h#newcode22 chromecast/graphics/cast_window_manager.h:22: enum { On 2017/01/19 18:12:13, derekjchow1 wrote: > Where ...
3 years, 11 months ago (2017-01-19 19:35:25 UTC) #5
halliwell
https://codereview.chromium.org/2636303002/diff/120001/chromecast/graphics/cast_window_manager.h File chromecast/graphics/cast_window_manager.h (right): https://codereview.chromium.org/2636303002/diff/120001/chromecast/graphics/cast_window_manager.h#newcode30 chromecast/graphics/cast_window_manager.h:30: } WindowId; Maybe I'm being slow, why isn't this ...
3 years, 11 months ago (2017-01-19 20:49:17 UTC) #6
Joshua LeVasseur
https://codereview.chromium.org/2636303002/diff/120001/chromecast/graphics/cast_window_manager.h File chromecast/graphics/cast_window_manager.h (right): https://codereview.chromium.org/2636303002/diff/120001/chromecast/graphics/cast_window_manager.h#newcode30 chromecast/graphics/cast_window_manager.h:30: } WindowId; On 2017/01/19 20:49:17, halliwell wrote: > Maybe ...
3 years, 11 months ago (2017-01-23 23:38:32 UTC) #7
halliwell
Looking good. Thanks for the tests and comments, much clearer to me now :D https://codereview.chromium.org/2636303002/diff/160001/chromecast/graphics/BUILD.gn ...
3 years, 11 months ago (2017-01-24 00:54:46 UTC) #8
Joshua LeVasseur
https://codereview.chromium.org/2636303002/diff/160001/chromecast/graphics/BUILD.gn File chromecast/graphics/BUILD.gn (right): https://codereview.chromium.org/2636303002/diff/160001/chromecast/graphics/BUILD.gn#newcode74 chromecast/graphics/BUILD.gn:74: "cast_window_manager_aura_test.cc", On 2017/01/24 00:54:46, halliwell wrote: > Do these ...
3 years, 11 months ago (2017-01-24 03:39:50 UTC) #11
halliwell
lgtm :) https://codereview.chromium.org/2636303002/diff/160001/chromecast/graphics/cast_window_manager_aura_test.cc File chromecast/graphics/cast_window_manager_aura_test.cc (right): https://codereview.chromium.org/2636303002/diff/160001/chromecast/graphics/cast_window_manager_aura_test.cc#newcode29 chromecast/graphics/cast_window_manager_aura_test.cc:29: window->Show(); On 2017/01/24 03:39:50, Joshua LeVasseur wrote: ...
3 years, 11 months ago (2017-01-24 04:10:12 UTC) #12
Joshua LeVasseur
On 2017/01/24 04:10:12, halliwell wrote: > lgtm :) > > https://codereview.chromium.org/2636303002/diff/160001/chromecast/graphics/cast_window_manager_aura_test.cc > File chromecast/graphics/cast_window_manager_aura_test.cc (right): ...
3 years, 11 months ago (2017-01-24 21:41:18 UTC) #17
Joshua LeVasseur
This adds a dependency on ui/gl/test and ui/base
3 years, 11 months ago (2017-01-25 18:38:45 UTC) #22
sadrul
https://codereview.chromium.org/2636303002/diff/200001/chromecast/graphics/cast_focus_client_aura.cc File chromecast/graphics/cast_focus_client_aura.cc (right): https://codereview.chromium.org/2636303002/diff/200001/chromecast/graphics/cast_focus_client_aura.cc#newcode58 chromecast/graphics/cast_focus_client_aura.cc:58: LOG(INFO) << "Removing window, " << LOG_WINDOW_INFO(top_level, window); Should ...
3 years, 11 months ago (2017-01-26 01:50:11 UTC) #23
Joshua LeVasseur
https://codereview.chromium.org/2636303002/diff/200001/chromecast/graphics/cast_focus_client_aura.cc File chromecast/graphics/cast_focus_client_aura.cc (right): https://codereview.chromium.org/2636303002/diff/200001/chromecast/graphics/cast_focus_client_aura.cc#newcode58 chromecast/graphics/cast_focus_client_aura.cc:58: LOG(INFO) << "Removing window, " << LOG_WINDOW_INFO(top_level, window); On ...
3 years, 11 months ago (2017-01-26 02:51:01 UTC) #24
sadrul
A couple of suggestions. lgtm https://codereview.chromium.org/2636303002/diff/200001/chromecast/graphics/cast_focus_client_aura.cc File chromecast/graphics/cast_focus_client_aura.cc (right): https://codereview.chromium.org/2636303002/diff/200001/chromecast/graphics/cast_focus_client_aura.cc#newcode215 chromecast/graphics/cast_focus_client_aura.cc:215: return window; On 2017/01/26 ...
3 years, 11 months ago (2017-01-27 00:30:57 UTC) #29
jbauman
ui/gl/test DEPS lgtm.
3 years, 10 months ago (2017-01-27 00:43:32 UTC) #30
Joshua LeVasseur
https://codereview.chromium.org/2636303002/diff/200001/chromecast/graphics/cast_focus_client_aura.cc File chromecast/graphics/cast_focus_client_aura.cc (right): https://codereview.chromium.org/2636303002/diff/200001/chromecast/graphics/cast_focus_client_aura.cc#newcode215 chromecast/graphics/cast_focus_client_aura.cc:215: return window; On 2017/01/27 00:30:56, sadrul wrote: > On ...
3 years, 10 months ago (2017-01-27 04:53:44 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2636303002/260001
3 years, 10 months ago (2017-01-30 16:20:01 UTC) #38
commit-bot: I haz the power
3 years, 10 months ago (2017-01-30 17:20:22 UTC) #41
Message was sent while issue was closed.
Committed patchset #14 (id:260001) as
https://chromium.googlesource.com/chromium/src/+/ff442c09047c888651b3b43a8e8d...

Powered by Google App Engine
This is Rietveld 408576698