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

Issue 290553002: Refactor menu dependency on aura/wm SetShadowType (Closed)

Created:
6 years, 7 months ago by Andre
Modified:
6 years, 7 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina, ben+views_chromium.org, tdanderson+views_chromium.org, mac-views-reviews_chromium.org
Visibility:
Public.

Description

Refactor menu dependency on aura/wm SetShadowType We want to run menus without aura for the mac port of views. Add the abstract function widget::SetHasActivationShadow so that SetShadowType invocations can be changed to no longer depend directly on aura/wm. BUG=366007 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272016

Patch Set 1 : #

Total comments: 3

Patch Set 2 : Fixes for sky #

Total comments: 1

Patch Set 3 : Rename enum #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -14 lines) Patch
M ui/views/controls/menu/menu_host.cc View 1 2 3 chunks +2 lines, -5 lines 0 comments Download
M ui/views/touchui/touch_selection_controller_impl.cc View 1 2 3 chunks +2 lines, -2 lines 0 comments Download
M ui/views/widget/native_widget_aura.cc View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M ui/views/widget/widget.h View 1 2 2 chunks +10 lines, -1 line 0 comments Download
M ui/views/widget/widget.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M ui/views/widget/widget_hwnd_utils.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/views/window/dialog_delegate.cc View 1 2 3 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Andre
6 years, 7 months ago (2014-05-15 20:50:01 UTC) #1
sky
https://codereview.chromium.org/290553002/diff/20001/ui/views/widget/widget.h File ui/views/widget/widget.h (right): https://codereview.chromium.org/290553002/diff/20001/ui/views/widget/widget.h#newcode203 ui/views/widget/widget.h:203: bool has_dropshadow; I believe menus are the only one ...
6 years, 7 months ago (2014-05-15 22:37:18 UTC) #2
Andre
https://codereview.chromium.org/290553002/diff/20001/ui/views/widget/widget.h File ui/views/widget/widget.h (right): https://codereview.chromium.org/290553002/diff/20001/ui/views/widget/widget.h#newcode203 ui/views/widget/widget.h:203: bool has_dropshadow; On 2014/05/15 22:37:19, sky wrote: > I ...
6 years, 7 months ago (2014-05-15 22:49:36 UTC) #3
sky
https://codereview.chromium.org/290553002/diff/20001/ui/views/widget/widget.h File ui/views/widget/widget.h (right): https://codereview.chromium.org/290553002/diff/20001/ui/views/widget/widget.h#newcode203 ui/views/widget/widget.h:203: bool has_dropshadow; On 2014/05/15 22:49:37, Andre wrote: > On ...
6 years, 7 months ago (2014-05-15 22:55:10 UTC) #4
Andre
On 2014/05/15 22:55:10, sky wrote: > https://codereview.chromium.org/290553002/diff/20001/ui/views/widget/widget.h > File ui/views/widget/widget.h (right): > > https://codereview.chromium.org/290553002/diff/20001/ui/views/widget/widget.h#newcode203 > ...
6 years, 7 months ago (2014-05-16 01:36:58 UTC) #5
sky
I believe shadow type set in initparams takes precedence over that of GetShadowTypeFromWindow. I'm ok ...
6 years, 7 months ago (2014-05-16 15:55:47 UTC) #6
Andre
On 2014/05/16 15:55:47, sky wrote: > I believe shadow type set in initparams takes precedence ...
6 years, 7 months ago (2014-05-19 16:02:34 UTC) #7
Andre
6 years, 7 months ago (2014-05-20 05:52:16 UTC) #8
sky
LGTM with a name change. https://codereview.chromium.org/290553002/diff/40001/ui/views/widget/widget.h File ui/views/widget/widget.h (right): https://codereview.chromium.org/290553002/diff/40001/ui/views/widget/widget.h#newcode184 ui/views/widget/widget.h:184: DEFAULT_SHADOW, // Use default ...
6 years, 7 months ago (2014-05-20 13:30:42 UTC) #9
Andre
On 2014/05/20 13:30:42, sky wrote: > LGTM with a name change. > > https://codereview.chromium.org/290553002/diff/40001/ui/views/widget/widget.h > ...
6 years, 7 months ago (2014-05-21 02:07:38 UTC) #10
Andre
The CQ bit was checked by andresantoso@chromium.org
6 years, 7 months ago (2014-05-21 06:12:39 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/andresantoso@chromium.org/290553002/70001
6 years, 7 months ago (2014-05-21 06:13:55 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-21 20:02:52 UTC) #13
commit-bot: I haz the power
6 years, 7 months ago (2014-05-21 23:40:21 UTC) #14
Message was sent while issue was closed.
Change committed as 272016

Powered by Google App Engine
This is Rietveld 408576698