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

Issue 2905833004: [OverlayWindow] Add platform-independent window and views implementation. (Closed)

Created:
3 years, 7 months ago by apacible
Modified:
3 years, 5 months ago
CC:
chromium-reviews, tfarina
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[OverlayWindow] Add platform-independent window and views implementation. This change adds a general window that overlays other windows, initially for the use case of picture in picture. This includes a partially stubbed views implementation. Cocoa work will be done in a separate CL. BUG=726621 Review-Url: https://codereview.chromium.org/2905833004 Cr-Commit-Position: refs/heads/master@{#488150} Committed: https://chromium.googlesource.com/chromium/src/+/36debc58c81094f47e733cf951afbd96c1ef4070

Patch Set 1 #

Total comments: 10

Patch Set 2 : Rebase. #

Patch Set 3 : Changes per mlamouri@'s comments. #

Patch Set 4 : Rebase. #

Patch Set 5 : Rename PIP to Overlay. #

Total comments: 9

Patch Set 6 : Changes per sky@'s comments. #

Total comments: 2

Patch Set 7 : Rebase. #

Patch Set 8 : Remove BaseWindow subclassing per conversation with sky@. #

Total comments: 10

Patch Set 9 : Rebase. #

Patch Set 10 : Changes per sky@ and mlamouri@'s comments. #

Total comments: 6

Patch Set 11 : Changes per sky@'s comments. #

Patch Set 12 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+160 lines, -0 lines) Patch
M chrome/browser/ui/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -0 lines 0 comments Download
A chrome/browser/ui/overlay/overlay_window.h View 1 2 3 4 5 6 7 8 9 1 chunk +47 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/overlay/overlay_window_views.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +38 lines, -0 lines 0 comments Download
A chrome/browser/ui/views/overlay/overlay_window_views.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +72 lines, -0 lines 0 comments Download

Messages

Total messages: 75 (51 generated)
apacible
PTAL, thanks! pkasting: Please advise on an appropriate directory for the PiP window files; we ...
3 years, 6 months ago (2017-06-02 06:38:03 UTC) #10
Peter Kasting
Note: I'm out until monday, so I'll reply then.
3 years, 6 months ago (2017-06-02 17:48:14 UTC) #11
mlamouri (slow - plz ping)
Left a few comments but it sounds that a file might be missing. https://codereview.chromium.org/2905833004/diff/1/chrome/browser/ui/BUILD.gn File ...
3 years, 6 months ago (2017-06-05 13:09:34 UTC) #12
mlamouri (slow - plz ping)
On 2017/06/05 at 13:09:34, mlamouri wrote: > Left a few comments but it sounds that ...
3 years, 6 months ago (2017-06-05 13:10:56 UTC) #13
Peter Kasting
I think sky is a better reviewer than me here. Questions: * Since this is ...
3 years, 6 months ago (2017-06-05 19:23:50 UTC) #16
sky
On 2017/06/05 19:23:50, Peter Kasting wrote: > I think sky is a better reviewer than ...
3 years, 6 months ago (2017-06-05 21:12:37 UTC) #17
apacible
pkasting, sky -- Thanks for the feedback. I'm inclined to OverlayWindow, as we may want ...
3 years, 6 months ago (2017-06-13 07:58:09 UTC) #18
mlamouri (slow - plz ping)
On 2017/06/13 at 07:58:09, apacible wrote: > pkasting, sky -- Thanks for the feedback. I'm ...
3 years, 6 months ago (2017-06-13 10:18:27 UTC) #19
Peter Kasting
I'm fine with the idea of leaving this in chrome for now; that can be ...
3 years, 6 months ago (2017-06-14 00:11:10 UTC) #21
apacible
Rebased and renamed. PTAL, thanks!
3 years, 6 months ago (2017-06-20 00:59:35 UTC) #27
sky
https://codereview.chromium.org/2905833004/diff/100001/chrome/browser/ui/overlay/overlay_window.h File chrome/browser/ui/overlay/overlay_window.h (right): https://codereview.chromium.org/2905833004/diff/100001/chrome/browser/ui/overlay/overlay_window.h#newcode11 chrome/browser/ui/overlay/overlay_window.h:11: class OverlayWindow : public ui::BaseWindow { Please add a ...
3 years, 6 months ago (2017-06-20 16:51:39 UTC) #30
apacible
https://codereview.chromium.org/2905833004/diff/100001/chrome/browser/ui/overlay/overlay_window.h File chrome/browser/ui/overlay/overlay_window.h (right): https://codereview.chromium.org/2905833004/diff/100001/chrome/browser/ui/overlay/overlay_window.h#newcode11 chrome/browser/ui/overlay/overlay_window.h:11: class OverlayWindow : public ui::BaseWindow { On 2017/06/20 16:51:39, ...
3 years, 6 months ago (2017-06-24 00:42:03 UTC) #31
sky
https://codereview.chromium.org/2905833004/diff/100001/chrome/browser/ui/views/overlay/overlay_window_views.cc File chrome/browser/ui/views/overlay/overlay_window_views.cc (right): https://codereview.chromium.org/2905833004/diff/100001/chrome/browser/ui/views/overlay/overlay_window_views.cc#newcode95 chrome/browser/ui/views/overlay/overlay_window_views.cc:95: NOTREACHED(); On 2017/06/24 00:42:03, apacible wrote: > On 2017/06/20 ...
3 years, 5 months ago (2017-06-26 15:38:44 UTC) #32
mlamouri (slow - plz ping)
Maybe it would be beneficial to have the follow-up CLs uploaded to resolve sky@'s concerns? ...
3 years, 5 months ago (2017-06-27 18:35:47 UTC) #33
apacible
On 2017/06/27 18:35:47, mlamouri (slow) wrote: > Maybe it would be beneficial to have the ...
3 years, 5 months ago (2017-06-27 18:39:36 UTC) #34
apacible
Updated to remove subclassing. https://codereview.chromium.org/2905833004/diff/120001/chrome/browser/ui/views/overlay/overlay_window_views.cc File chrome/browser/ui/views/overlay/overlay_window_views.cc (right): https://codereview.chromium.org/2905833004/diff/120001/chrome/browser/ui/views/overlay/overlay_window_views.cc#newcode30 chrome/browser/ui/views/overlay/overlay_window_views.cc:30: // TODO(apacible): Set the WidgetDelegate ...
3 years, 5 months ago (2017-06-30 04:56:59 UTC) #37
mlamouri (slow - plz ping)
lgtm if sky@ is happy https://codereview.chromium.org/2905833004/diff/200001/chrome/browser/ui/overlay/overlay_window.h File chrome/browser/ui/overlay/overlay_window.h (right): https://codereview.chromium.org/2905833004/diff/200001/chrome/browser/ui/overlay/overlay_window.h#newcode16 chrome/browser/ui/overlay/overlay_window.h:16: virtual ~OverlayWindow() {} = ...
3 years, 5 months ago (2017-07-07 10:34:39 UTC) #38
sky
https://codereview.chromium.org/2905833004/diff/200001/chrome/browser/ui/overlay/overlay_window.h File chrome/browser/ui/overlay/overlay_window.h (right): https://codereview.chromium.org/2905833004/diff/200001/chrome/browser/ui/overlay/overlay_window.h#newcode8 chrome/browser/ui/overlay/overlay_window.h:8: #include "ui/compositor/layer.h" forward declare this (assuming you need Layer, ...
3 years, 5 months ago (2017-07-11 18:02:25 UTC) #39
apacible
https://codereview.chromium.org/2905833004/diff/200001/chrome/browser/ui/overlay/overlay_window.h File chrome/browser/ui/overlay/overlay_window.h (right): https://codereview.chromium.org/2905833004/diff/200001/chrome/browser/ui/overlay/overlay_window.h#newcode8 chrome/browser/ui/overlay/overlay_window.h:8: #include "ui/compositor/layer.h" On 2017/07/11 18:02:25, sky wrote: > forward ...
3 years, 5 months ago (2017-07-18 01:08:28 UTC) #43
sky
https://codereview.chromium.org/2905833004/diff/300001/chrome/browser/ui/views/overlay/overlay_window_views.h File chrome/browser/ui/views/overlay/overlay_window_views.h (right): https://codereview.chromium.org/2905833004/diff/300001/chrome/browser/ui/views/overlay/overlay_window_views.h#newcode9 chrome/browser/ui/views/overlay/overlay_window_views.h:9: #include "ui/views/widget/widget.h" Forward declare Widget. https://codereview.chromium.org/2905833004/diff/300001/chrome/browser/ui/views/overlay/overlay_window_views.h#newcode17 chrome/browser/ui/views/overlay/overlay_window_views.h:17: void Init() ...
3 years, 5 months ago (2017-07-18 16:48:08 UTC) #58
apacible
https://codereview.chromium.org/2905833004/diff/300001/chrome/browser/ui/views/overlay/overlay_window_views.h File chrome/browser/ui/views/overlay/overlay_window_views.h (right): https://codereview.chromium.org/2905833004/diff/300001/chrome/browser/ui/views/overlay/overlay_window_views.h#newcode9 chrome/browser/ui/views/overlay/overlay_window_views.h:9: #include "ui/views/widget/widget.h" On 2017/07/18 16:48:07, sky wrote: > Forward ...
3 years, 5 months ago (2017-07-19 00:44:12 UTC) #60
sky
LGTM
3 years, 5 months ago (2017-07-19 15:49:49 UTC) #64
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/2905833004/340001
3 years, 5 months ago (2017-07-20 05:42:07 UTC) #71
commit-bot: I haz the power
3 years, 5 months ago (2017-07-20 06:32:13 UTC) #75
Message was sent while issue was closed.
Committed patchset #12 (id:340001) as
https://chromium.googlesource.com/chromium/src/+/36debc58c81094f47e733cf951af...

Powered by Google App Engine
This is Rietveld 408576698