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

Issue 2664403004: Use pixel coordinates for shadow underlay bounds (Closed)

Created:
3 years, 10 months ago by oshima
Modified:
3 years, 10 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use pixel coordinates for shadow underlay bounds * Introduced new request set_rectangular_surface_shadow. Reprecated old one. * Added placeholder for set/unset moving introduced in remote_surface version 2. This only switches the underlay to pixel and that looks good enough to me. I'll work on the shadow itself separately if necessary. BUG=687742 TEST=tested on Elm. Review-Url: https://codereview.chromium.org/2664403004 Cr-Commit-Position: refs/heads/master@{#448549} Committed: https://chromium.googlesource.com/chromium/src/+/ba48072770ed46f3328f09d8147f42c8cf4a1677

Patch Set 1 : . #

Total comments: 1

Patch Set 2 : add new request. mark old one as deprecated #

Patch Set 3 : flip the default #

Patch Set 4 : update #

Total comments: 8

Patch Set 5 : update names etc #

Total comments: 6

Patch Set 6 : rename,rebase,etc #

Patch Set 7 : set version 2 #

Total comments: 12

Patch Set 8 : address comments #

Total comments: 2

Patch Set 9 : addressed comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+370 lines, -276 lines) Patch
M components/exo/shell_surface.h View 1 2 3 4 5 6 7 3 chunks +13 lines, -4 lines 0 comments Download
M components/exo/shell_surface.cc View 1 2 3 4 5 6 7 8 5 chunks +51 lines, -18 lines 0 comments Download
M components/exo/shell_surface_unittest.cc View 1 2 3 4 5 6 7 12 chunks +121 lines, -35 lines 0 comments Download
M components/exo/wayland/server.cc View 1 2 3 4 5 6 7 6 chunks +41 lines, -14 lines 0 comments Download
M third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-client-protocol.h View 1 2 3 4 5 8 chunks +75 lines, -74 lines 0 comments Download
M third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-server-protocol.h View 1 2 3 4 5 7 chunks +34 lines, -117 lines 0 comments Download
M third_party/wayland-protocols/protocol/remote-shell-protocol.c View 1 2 3 4 5 2 chunks +8 lines, -7 lines 0 comments Download
M third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml View 1 2 3 4 5 7 chunks +27 lines, -7 lines 0 comments Download

Messages

Total messages: 48 (29 generated)
oshima
https://codereview.chromium.org/2664403004/diff/100001/components/exo/shell_surface.cc File components/exo/shell_surface.cc (right): https://codereview.chromium.org/2664403004/diff/100001/components/exo/shell_surface.cc#newcode630 components/exo/shell_surface.cc:630: pending_scale_ = -scale; I'm using negative scale during the ...
3 years, 10 months ago (2017-02-02 00:05:55 UTC) #12
reveman
Can we add another request to the wayland interface for this instead? Easier to review ...
3 years, 10 months ago (2017-02-02 02:52:16 UTC) #17
reveman
On 2017/02/02 at 02:52:16, reveman wrote: > Can we add another request to the wayland ...
3 years, 10 months ago (2017-02-02 02:53:09 UTC) #18
oshima
On 2017/02/02 02:53:09, reveman wrote: > On 2017/02/02 at 02:52:16, reveman wrote: > > Can ...
3 years, 10 months ago (2017-02-02 16:38:29 UTC) #19
oshima
added new request in the interface. ptal.
3 years, 10 months ago (2017-02-02 22:43:45 UTC) #25
reveman
https://codereview.chromium.org/2664403004/diff/280001/components/exo/wayland/server.cc File components/exo/wayland/server.cc (right): https://codereview.chromium.org/2664403004/diff/280001/components/exo/wayland/server.cc#newcode1512 components/exo/wayland/server.cc:1512: shell_surface->set_shadow_underlay_in_shell_surface(false); We usually try to have the exo interface ...
3 years, 10 months ago (2017-02-03 02:22:18 UTC) #29
oshima
https://codereview.chromium.org/2664403004/diff/280001/components/exo/wayland/server.cc File components/exo/wayland/server.cc (right): https://codereview.chromium.org/2664403004/diff/280001/components/exo/wayland/server.cc#newcode1512 components/exo/wayland/server.cc:1512: shell_surface->set_shadow_underlay_in_shell_surface(false); On 2017/02/03 02:22:18, reveman wrote: > We usually ...
3 years, 10 months ago (2017-02-03 17:33:16 UTC) #31
reveman
https://codereview.chromium.org/2664403004/diff/320001/components/exo/shell_surface.h File components/exo/shell_surface.h (right): https://codereview.chromium.org/2664403004/diff/320001/components/exo/shell_surface.h#newcode153 components/exo/shell_surface.h:153: void SetRectangularShadow_DEPRECATED(const gfx::Rect& content_bounds); Remove _DEPRECATED here. See my ...
3 years, 10 months ago (2017-02-03 17:47:02 UTC) #33
Dominik Laskowski
https://codereview.chromium.org/2664403004/diff/320001/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml File third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml (right): https://codereview.chromium.org/2664403004/diff/320001/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml#newcode385 third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml:385: <request name="set_moving" since="2"> On 2017/02/03 17:47:01, reveman wrote: > ...
3 years, 10 months ago (2017-02-03 18:55:14 UTC) #34
oshima
On 2017/02/03 18:55:14, Dominik Laskowski wrote: > https://codereview.chromium.org/2664403004/diff/320001/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml > File > third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml > (right): > ...
3 years, 10 months ago (2017-02-03 20:59:46 UTC) #35
oshima
* Renamed methods * Rebased * Changed version to 2 PTAL
3 years, 10 months ago (2017-02-04 01:00:36 UTC) #37
reveman
https://codereview.chromium.org/2664403004/diff/380001/components/exo/shell_surface.cc File components/exo/shell_surface.cc (right): https://codereview.chromium.org/2664403004/diff/380001/components/exo/shell_surface.cc#newcode1435 components/exo/shell_surface.cc:1435: delete shadow_underlay_; I think this would be best to ...
3 years, 10 months ago (2017-02-06 22:38:03 UTC) #38
oshima
On 2017/02/04 01:00:36, oshima wrote: > * Renamed methods > * Rebased > * Changed ...
3 years, 10 months ago (2017-02-06 22:39:36 UTC) #39
oshima
https://codereview.chromium.org/2664403004/diff/380001/components/exo/shell_surface.cc File components/exo/shell_surface.cc (right): https://codereview.chromium.org/2664403004/diff/380001/components/exo/shell_surface.cc#newcode1435 components/exo/shell_surface.cc:1435: delete shadow_underlay_; On 2017/02/06 22:38:03, reveman wrote: > I ...
3 years, 10 months ago (2017-02-07 02:21:45 UTC) #40
reveman
https://codereview.chromium.org/2664403004/diff/380001/components/exo/shell_surface.cc File components/exo/shell_surface.cc (right): https://codereview.chromium.org/2664403004/diff/380001/components/exo/shell_surface.cc#newcode1482 components/exo/shell_surface.cc:1482: if (shadow_underlay_in_surface_) { On 2017/02/07 at 02:21:45, oshima wrote: ...
3 years, 10 months ago (2017-02-07 03:16:53 UTC) #41
oshima
https://codereview.chromium.org/2664403004/diff/380001/components/exo/shell_surface.cc File components/exo/shell_surface.cc (right): https://codereview.chromium.org/2664403004/diff/380001/components/exo/shell_surface.cc#newcode1482 components/exo/shell_surface.cc:1482: if (shadow_underlay_in_surface_) { On 2017/02/07 03:16:53, reveman wrote: > ...
3 years, 10 months ago (2017-02-07 03:21:40 UTC) #42
reveman
lgtm
3 years, 10 months ago (2017-02-07 03:25:50 UTC) #43
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/2664403004/420001
3 years, 10 months ago (2017-02-07 04:10:55 UTC) #45
commit-bot: I haz the power
3 years, 10 months ago (2017-02-07 04:51:58 UTC) #48
Message was sent while issue was closed.
Committed patchset #9 (id:420001) as
https://chromium.googlesource.com/chromium/src/+/ba48072770ed46f3328f09d8147f...

Powered by Google App Engine
This is Rietveld 408576698