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

Issue 693523003: MacViews: Put wm window animation calls behind an interface. (Closed)

Created:
6 years, 1 month ago by Andre
Modified:
6 years, 1 month ago
Reviewers:
sky
CC:
chromium-reviews, tdanderson+views_chromium.org, nkostylev+watch_chromium.org, benquan, Ilya Sherman, dyu1, Dane Wallinga, oshima+watch_chromium.org, tfarina, rouslan+autofillwatch_chromium.org, estade+watch_chromium.org, gcasto+watchlist_chromium.org, James Su, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, mkwst+watchlist-passwords_chromium.org, mac-views-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@views-clipboard
Project:
chromium
Visibility:
Public.

Description

MacViews: Put wm window animation calls behind an interface. These calls are not available on MacViews without Aura, so put them behind an interface through views::Widget. BUG=425229 Committed: https://crrev.com/8c848c3f4b03bceab3e847f833afd0d6bd9dd4f5 Cr-Commit-Position: refs/heads/master@{#302368}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : Two functions #

Total comments: 2

Patch Set 4 : Fix for sky #

Patch Set 5 : Fix windows build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -21 lines) Patch
M chrome/browser/chromeos/login/ui/lock_window_aura.cc View 1 2 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/chromeos/login/ui/login_display_host_impl.cc View 1 2 2 chunks +2 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/autofill/autofill_popup_base_view.cc View 1 2 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc View 1 2 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/ui/views/passwords/manage_passwords_bubble_view.cc View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M ui/views/touchui/touch_selection_controller_impl.cc View 1 2 2 chunks +1 line, -3 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_native_widget_aura.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_native_widget_aura.cc View 1 2 3 4 2 chunks +26 lines, -0 lines 0 comments Download
M ui/views/widget/native_widget_aura.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M ui/views/widget/native_widget_aura.cc View 1 2 3 4 2 chunks +26 lines, -0 lines 0 comments Download
M ui/views/widget/native_widget_mac.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M ui/views/widget/native_widget_mac.mm View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M ui/views/widget/native_widget_private.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M ui/views/widget/widget.h View 1 2 3 3 chunks +19 lines, -0 lines 0 comments Download
M ui/views/widget/widget.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (9 generated)
Andre
sky@ PTAL. I think reads better compared to adding something like SetVisibilityAnimationTransition and SetVisibilityAnimationDuration to ...
6 years, 1 month ago (2014-10-30 22:30:50 UTC) #7
sky
https://codereview.chromium.org/693523003/diff/120001/ui/views/widget/widget.h File ui/views/widget/widget.h (right): https://codereview.chromium.org/693523003/diff/120001/ui/views/widget/widget.h#newcode447 ui/views/widget/widget.h:447: VisibilityAnimation* GetVisibilityAnimation() const; I would rather have a single ...
6 years, 1 month ago (2014-10-30 22:54:43 UTC) #8
Andre
On 2014/10/30 22:54:43, sky wrote: > https://codereview.chromium.org/693523003/diff/120001/ui/views/widget/widget.h > File ui/views/widget/widget.h (right): > > https://codereview.chromium.org/693523003/diff/120001/ui/views/widget/widget.h#newcode447 > ...
6 years, 1 month ago (2014-10-30 23:24:46 UTC) #9
Andre
On 2014/10/30 23:24:46, Andre wrote: > On 2014/10/30 22:54:43, sky wrote: > > https://codereview.chromium.org/693523003/diff/120001/ui/views/widget/widget.h > ...
6 years, 1 month ago (2014-10-30 23:36:49 UTC) #10
sky
On Thu, Oct 30, 2014 at 4:36 PM, <andresantoso@chromium.org> wrote: > On 2014/10/30 23:24:46, Andre ...
6 years, 1 month ago (2014-10-31 16:21:21 UTC) #11
Andre
WDYT about making 2 separate functions (patch #3). That way call-sites can remain as one-liners.
6 years, 1 month ago (2014-10-31 21:15:26 UTC) #12
sky
My likey. LGTM https://codereview.chromium.org/693523003/diff/140001/ui/views/widget/widget.h File ui/views/widget/widget.h (right): https://codereview.chromium.org/693523003/diff/140001/ui/views/widget/widget.h#newcode431 ui/views/widget/widget.h:431: // Default behavior is to animate ...
6 years, 1 month ago (2014-10-31 22:58:43 UTC) #13
Andre
https://codereview.chromium.org/693523003/diff/140001/ui/views/widget/widget.h File ui/views/widget/widget.h (right): https://codereview.chromium.org/693523003/diff/140001/ui/views/widget/widget.h#newcode431 ui/views/widget/widget.h:431: // Default behavior is to animate both show and ...
6 years, 1 month ago (2014-10-31 23:05:10 UTC) #14
Andre
Fix for sky
6 years, 1 month ago (2014-10-31 23:11:19 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/693523003/220001
6 years, 1 month ago (2014-11-01 00:08:21 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:220001)
6 years, 1 month ago (2014-11-01 00:50:33 UTC) #20
commit-bot: I haz the power
6 years, 1 month ago (2014-11-01 00:51:47 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/8c848c3f4b03bceab3e847f833afd0d6bd9dd4f5
Cr-Commit-Position: refs/heads/master@{#302368}

Powered by Google App Engine
This is Rietveld 408576698