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

Issue 2643553002: [Chromecast] Reuse the Aura window manager across receiver apps. (Closed)

Created:
3 years, 11 months ago by Joshua LeVasseur
Modified:
3 years, 11 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] Reuse the Aura window manager across receiver apps. Always makes the root window transparent for seeing the video plane beneath it. Allows tearing down and rebuilding the window manager. BUG=internal b/34103918, internal b/33835219, internal b/33046596 TEST=manually test all categories of receiver apps and mirroring. Change-Id: Ic84079e6eae012896b2a1d8bdf39dc64578f2307 Review-Url: https://codereview.chromium.org/2643553002 Cr-Commit-Position: refs/heads/master@{#445424} Committed: https://chromium.googlesource.com/chromium/src/+/bc99b5bd4d84c497eee78e13e2c786e409cc80dd

Patch Set 1 #

Total comments: 6

Patch Set 2 : fix unit tests #

Total comments: 27

Patch Set 3 : applied reviewer feedback #

Total comments: 18

Patch Set 4 : applied reviewer feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+398 lines, -158 lines) Patch
M chromecast/browser/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M chromecast/browser/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
M chromecast/browser/android/cast_content_window_android.h View 1 chunk +2 lines, -1 line 0 comments Download
M chromecast/browser/android/cast_content_window_android.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M chromecast/browser/cast_browser_main_parts.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chromecast/browser/cast_browser_main_parts.cc View 1 4 chunks +8 lines, -1 line 0 comments Download
M chromecast/browser/cast_content_browser_client.h View 2 chunks +3 lines, -1 line 0 comments Download
M chromecast/browser/cast_content_browser_client.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M chromecast/browser/cast_content_window.h View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M chromecast/browser/cast_content_window_linux.h View 3 chunks +3 lines, -14 lines 0 comments Download
M chromecast/browser/cast_content_window_linux.cc View 1 2 3 5 chunks +10 lines, -127 lines 0 comments Download
M chromecast/browser/service/cast_service_simple.h View 2 chunks +5 lines, -1 line 0 comments Download
M chromecast/browser/service/cast_service_simple.cc View 1 2 2 chunks +7 lines, -5 lines 0 comments Download
M chromecast/browser/test/cast_browser_test.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chromecast/graphics/BUILD.gn View 2 chunks +16 lines, -1 line 0 comments Download
M chromecast/graphics/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
A chromecast/graphics/cast_window_manager.h View 1 2 3 1 chunk +39 lines, -0 lines 0 comments Download
A chromecast/graphics/cast_window_manager_aura.h View 1 2 3 1 chunk +55 lines, -0 lines 0 comments Download
A chromecast/graphics/cast_window_manager_aura.cc View 1 2 3 1 chunk +177 lines, -0 lines 0 comments Download
A chromecast/graphics/cast_window_manager_default.h View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
A chromecast/graphics/cast_window_manager_default.cc View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 42 (24 generated)
Joshua LeVasseur
3 years, 11 months ago (2017-01-17 22:48:46 UTC) #2
alokp
Very high-level drive-by comment. https://codereview.chromium.org/2643553002/diff/1/chromecast/graphics/cast_window_manager.h File chromecast/graphics/cast_window_manager.h (right): https://codereview.chromium.org/2643553002/diff/1/chromecast/graphics/cast_window_manager.h#newcode4 chromecast/graphics/cast_window_manager.h:4: #ifndef CHROMECAST_GRAPHICS_CAST_WINDOW_MANAGER_H_ nit: The name ...
3 years, 11 months ago (2017-01-17 23:08:17 UTC) #6
halliwell
I started reviewing, but it seems like it needs rebasing on the other patch? Negates ...
3 years, 11 months ago (2017-01-18 00:50:40 UTC) #11
Joshua LeVasseur
https://codereview.chromium.org/2643553002/diff/1/chromecast/browser/BUILD.gn File chromecast/browser/BUILD.gn (left): https://codereview.chromium.org/2643553002/diff/1/chromecast/browser/BUILD.gn#oldcode134 chromecast/browser/BUILD.gn:134: "//ui/base/ime", On 2017/01/18 00:50:40, halliwell wrote: > does this ...
3 years, 11 months ago (2017-01-18 00:55:38 UTC) #12
derekjchow1
https://codereview.chromium.org/2643553002/diff/20001/chromecast/browser/android/cast_content_window_android.cc File chromecast/browser/android/cast_content_window_android.cc (right): https://codereview.chromium.org/2643553002/diff/20001/chromecast/browser/android/cast_content_window_android.cc#newcode63 chromecast/browser/android/cast_content_window_android.cc:63: CastWindowManager* window_manager) { DCHECK(window_manager). Even if it's not used, ...
3 years, 11 months ago (2017-01-18 02:49:13 UTC) #15
halliwell
On 2017/01/18 00:55:38, Joshua LeVasseur wrote: > https://codereview.chromium.org/2643553002/diff/1/chromecast/browser/BUILD.gn > File chromecast/browser/BUILD.gn (left): > > https://codereview.chromium.org/2643553002/diff/1/chromecast/browser/BUILD.gn#oldcode134 ...
3 years, 11 months ago (2017-01-18 02:55:05 UTC) #16
halliwell
https://codereview.chromium.org/2643553002/diff/20001/chromecast/browser/service/cast_service_simple.cc File chromecast/browser/service/cast_service_simple.cc (right): https://codereview.chromium.org/2643553002/diff/20001/chromecast/browser/service/cast_service_simple.cc#newcode12 chromecast/browser/service/cast_service_simple.cc:12: #include "chromecast/graphics/cast_window_manager.h" unnecessary https://codereview.chromium.org/2643553002/diff/20001/chromecast/graphics/cast_window_manager_aura.cc File chromecast/graphics/cast_window_manager_aura.cc (right): https://codereview.chromium.org/2643553002/diff/20001/chromecast/graphics/cast_window_manager_aura.cc#newcode117 chromecast/graphics/cast_window_manager_aura.cc:117: ...
3 years, 11 months ago (2017-01-18 02:55:18 UTC) #17
Joshua LeVasseur
https://codereview.chromium.org/2643553002/diff/20001/chromecast/graphics/cast_window_manager.h File chromecast/graphics/cast_window_manager.h (right): https://codereview.chromium.org/2643553002/diff/20001/chromecast/graphics/cast_window_manager.h#newcode34 chromecast/graphics/cast_window_manager.h:34: virtual void AddAndShowWindow(gfx::NativeView window) = 0; On 2017/01/18 02:49:12, ...
3 years, 11 months ago (2017-01-18 06:00:57 UTC) #22
Joshua LeVasseur
https://codereview.chromium.org/2643553002/diff/20001/chromecast/browser/android/cast_content_window_android.cc File chromecast/browser/android/cast_content_window_android.cc (right): https://codereview.chromium.org/2643553002/diff/20001/chromecast/browser/android/cast_content_window_android.cc#newcode63 chromecast/browser/android/cast_content_window_android.cc:63: CastWindowManager* window_manager) { On 2017/01/18 02:49:12, derekjchow1 wrote: > ...
3 years, 11 months ago (2017-01-18 18:26:35 UTC) #23
halliwell
https://codereview.chromium.org/2643553002/diff/40001/chromecast/graphics/cast_window_manager.h File chromecast/graphics/cast_window_manager.h (right): https://codereview.chromium.org/2643553002/diff/40001/chromecast/graphics/cast_window_manager.h#newcode3 chromecast/graphics/cast_window_manager.h:3: // found in the LICENSE file. blank line https://codereview.chromium.org/2643553002/diff/40001/chromecast/graphics/cast_window_manager.h#newcode27 ...
3 years, 11 months ago (2017-01-18 21:11:22 UTC) #24
Joshua LeVasseur
https://codereview.chromium.org/2643553002/diff/40001/chromecast/graphics/cast_window_manager.h File chromecast/graphics/cast_window_manager.h (right): https://codereview.chromium.org/2643553002/diff/40001/chromecast/graphics/cast_window_manager.h#newcode3 chromecast/graphics/cast_window_manager.h:3: // found in the LICENSE file. On 2017/01/18 21:11:22, ...
3 years, 11 months ago (2017-01-19 00:56:33 UTC) #25
halliwell
On 2017/01/19 00:56:33, Joshua LeVasseur wrote: > https://codereview.chromium.org/2643553002/diff/40001/chromecast/graphics/cast_window_manager.h > File chromecast/graphics/cast_window_manager.h (right): > > https://codereview.chromium.org/2643553002/diff/40001/chromecast/graphics/cast_window_manager.h#newcode3 ...
3 years, 11 months ago (2017-01-19 01:10:07 UTC) #28
derekjchow1
lgtm with one question/nit https://codereview.chromium.org/2643553002/diff/20001/chromecast/graphics/cast_window_manager.h File chromecast/graphics/cast_window_manager.h (right): https://codereview.chromium.org/2643553002/diff/20001/chromecast/graphics/cast_window_manager.h#newcode34 chromecast/graphics/cast_window_manager.h:34: virtual void AddAndShowWindow(gfx::NativeView window) = ...
3 years, 11 months ago (2017-01-19 01:16:28 UTC) #29
Joshua LeVasseur
On 2017/01/19 01:16:28, derekjchow1 wrote: > lgtm with one question/nit > > https://codereview.chromium.org/2643553002/diff/20001/chromecast/graphics/cast_window_manager.h > File ...
3 years, 11 months ago (2017-01-19 01:28:16 UTC) #30
Joshua LeVasseur
Hi Shu Chen, this CL moves our use of ui/base/ime from chromecast/browser to chromecast/graphics, as ...
3 years, 11 months ago (2017-01-19 01:35:15 UTC) #32
Shu Chen
lgtm
3 years, 11 months ago (2017-01-19 01:38:56 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/2643553002/60001
3 years, 11 months ago (2017-01-23 18:55:18 UTC) #39
commit-bot: I haz the power
3 years, 11 months ago (2017-01-23 19:04:16 UTC) #42
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/bc99b5bd4d84c497eee78e13e2c7...

Powered by Google App Engine
This is Rietveld 408576698