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

Issue 690103008: Implemented swipe to close in overview mode. (Closed)

Created:
6 years, 1 month ago by bruthig
Modified:
5 years, 10 months ago
CC:
chromium-reviews, tdanderson+overview_chromium.org, kalyank, sadrul, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implemented swipe to close in overview mode. BUG=393668 Committed: https://crrev.com/7ec5114efa5eada853c2ece5d6edb0fa4ce5611a Cr-Commit-Position: refs/heads/master@{#316217}

Patch Set 1 #

Total comments: 31

Patch Set 2 : Rebased on to master. #

Patch Set 3 : Removed ET_SCROLL_FLING_CANCEL handling from TransparentButton and removed WindowSelector.MultiWind… #

Total comments: 3

Patch Set 4 : Implemented swipe to close on top of other changes in overview mode #

Total comments: 22

Patch Set 5 : Rebase on master. #

Patch Set 6 : Addressed flackrs comments from Patch Set 4. #

Total comments: 11

Patch Set 7 : Addressed flackr's comments from Patch Set 6. #

Total comments: 4

Patch Set 8 : Addressed flackr's comments from Patch Set 7. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+478 lines, -60 lines) Patch
M ash/ash_switches.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M ash/ash_switches.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M ash/wm/overview/overview_animation_type.h View 1 2 3 2 chunks +9 lines, -2 lines 0 comments Download
M ash/wm/overview/scoped_overview_animation_settings.h View 1 2 3 1 chunk +0 lines, -5 lines 0 comments Download
M ash/wm/overview/scoped_overview_animation_settings.cc View 1 2 3 5 chunks +17 lines, -11 lines 0 comments Download
M ash/wm/overview/window_selector.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ash/wm/overview/window_selector_controller.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M ash/wm/overview/window_selector_controller.cc View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M ash/wm/overview/window_selector_item.h View 1 2 3 4 5 6 4 chunks +23 lines, -1 line 0 comments Download
M ash/wm/overview/window_selector_item.cc View 1 2 3 4 5 6 7 9 chunks +132 lines, -6 lines 0 comments Download
M ash/wm/overview/window_selector_unittest.cc View 1 2 3 4 5 6 9 chunks +266 lines, -34 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 44 (14 generated)
bruthig
jwd@chromium.org: Please review changes in tools/metrics/histograms/* derat@chromium.org: Please review changes in ash/ash_switches.(h|cc) jhawkins@chromium.org: Please review ...
6 years, 1 month ago (2014-11-06 21:56:51 UTC) #2
Daniel Erat
is it typical to add a disable switch for a new feature like this, or ...
6 years, 1 month ago (2014-11-06 22:15:36 UTC) #3
flackr
We often land as disabled with an enable flag, then switch the flag to be ...
6 years, 1 month ago (2014-11-07 19:10:52 UTC) #4
jonross
https://codereview.chromium.org/690103008/diff/1/ash/wm/overview/transparent_activate_window_button.cc File ash/wm/overview/transparent_activate_window_button.cc (right): https://codereview.chromium.org/690103008/diff/1/ash/wm/overview/transparent_activate_window_button.cc#newcode29 ash/wm/overview/transparent_activate_window_button.cc:29: const float kMinimumFlingVelocity = 4000.0f; Won't be needed if ...
6 years, 1 month ago (2014-11-12 23:57:03 UTC) #6
pkotwicz
https://codereview.chromium.org/690103008/diff/1/ash/wm/overview/transparent_activate_window_button.cc File ash/wm/overview/transparent_activate_window_button.cc (right): https://codereview.chromium.org/690103008/diff/1/ash/wm/overview/transparent_activate_window_button.cc#newcode80 ash/wm/overview/transparent_activate_window_button.cc:80: const bool swipe_to_close_disabled_; Drive by: I dislike the pattern ...
6 years ago (2014-12-21 00:09:32 UTC) #8
Daniel Erat
this looks like it still needs a review, but lgtm for ash_switches.*.
6 years ago (2014-12-21 13:56:18 UTC) #9
bruthig
Made changes for some comments and continued discussions for others. flackr@, jonross@ can you please ...
5 years, 11 months ago (2015-01-02 16:49:17 UTC) #10
James Hawkins
https://codereview.chromium.org/690103008/diff/40001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/690103008/diff/40001/chrome/app/generated_resources.grd#newcode6089 chrome/app/generated_resources.grd:6089: + Disables swipe gestures to close windows in Overview ...
5 years, 11 months ago (2015-01-05 19:47:59 UTC) #11
bruthig
Responded to jhawkins@ comment. https://codereview.chromium.org/690103008/diff/40001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/690103008/diff/40001/chrome/app/generated_resources.grd#newcode6089 chrome/app/generated_resources.grd:6089: + Disables swipe gestures to ...
5 years, 11 months ago (2015-01-05 19:54:58 UTC) #12
James Hawkins
On 2015/01/05 19:54:58, bruthig wrote: > Responded to jhawkins@ comment. > > https://codereview.chromium.org/690103008/diff/40001/chrome/app/generated_resources.grd > File ...
5 years, 11 months ago (2015-01-05 19:59:31 UTC) #13
jonross
https://codereview.chromium.org/690103008/diff/1/ash/wm/overview/transparent_activate_window_button.cc File ash/wm/overview/transparent_activate_window_button.cc (right): https://codereview.chromium.org/690103008/diff/1/ash/wm/overview/transparent_activate_window_button.cc#newcode65 ash/wm/overview/transparent_activate_window_button.cc:65: close_window_distance_minimum_ = distance; On 2015/01/02 16:49:17, bruthig wrote: > ...
5 years, 11 months ago (2015-01-06 15:02:28 UTC) #14
bruthig
I've re-implemented the swipe-to-close feature over in-flight changes that can be found here: https://codereview.chromium.org/872113004/ If ...
5 years, 10 months ago (2015-02-04 22:23:28 UTC) #17
James Hawkins
On 2015/02/04 22:23:28, bruthig wrote: > I've re-implemented the swipe-to-close feature over in-flight changes that ...
5 years, 10 months ago (2015-02-06 15:34:37 UTC) #18
bruthig
jwd@chromium.org: Please review changes in tools/metrics/histograms/* jhawkins@chromium.org: Please review changes in chrome/* flackr@chromium.org: Please review ...
5 years, 10 months ago (2015-02-09 15:46:53 UTC) #19
flackr
https://codereview.chromium.org/690103008/diff/60001/ash/wm/overview/window_selector_item.cc File ash/wm/overview/window_selector_item.cc (right): https://codereview.chromium.org/690103008/diff/60001/ash/wm/overview/window_selector_item.cc#newcode98 ash/wm/overview/window_selector_item.cc:98: ui::Layer* layer = window->layer(); layer is only used once, ...
5 years, 10 months ago (2015-02-10 17:49:50 UTC) #20
bruthig
I've addressed flackr's comments from the previous patch set. flackr@: Can you please have another ...
5 years, 10 months ago (2015-02-12 18:08:55 UTC) #21
jonross
On 2015/02/12 18:08:55, bruthig wrote: > I've addressed flackr's comments from the previous patch set. ...
5 years, 10 months ago (2015-02-12 18:33:24 UTC) #22
flackr
https://codereview.chromium.org/690103008/diff/60001/ash/wm/overview/window_selector_item.cc File ash/wm/overview/window_selector_item.cc (right): https://codereview.chromium.org/690103008/diff/60001/ash/wm/overview/window_selector_item.cc#newcode111 ash/wm/overview/window_selector_item.cc:111: return std::min(1.0f, std::max(kMinimumOpacity, opacity)); On 2015/02/12 18:08:55, bruthig wrote: ...
5 years, 10 months ago (2015-02-12 18:52:43 UTC) #23
bruthig
flackr@ can you have another look? https://codereview.chromium.org/690103008/diff/100001/ash/wm/overview/window_selector_item.cc File ash/wm/overview/window_selector_item.cc (right): https://codereview.chromium.org/690103008/diff/100001/ash/wm/overview/window_selector_item.cc#newcode168 ash/wm/overview/window_selector_item.cc:168: event->SetHandled(); On 2015/02/12 ...
5 years, 10 months ago (2015-02-12 20:34:16 UTC) #25
flackr
lgtm with nits. https://codereview.chromium.org/690103008/diff/120001/ash/wm/overview/window_selector_item.cc File ash/wm/overview/window_selector_item.cc (right): https://codereview.chromium.org/690103008/diff/120001/ash/wm/overview/window_selector_item.cc#newcode267 ash/wm/overview/window_selector_item.cc:267: swipe_to_close_disabled()) { Return early instead. https://codereview.chromium.org/690103008/diff/120001/ash/wm/overview/window_selector_item.cc#newcode283 ...
5 years, 10 months ago (2015-02-12 20:52:38 UTC) #26
jwd
lgtm
5 years, 10 months ago (2015-02-12 20:54:01 UTC) #27
bruthig
Fixed nits, no need to review. Thanks all! :) https://codereview.chromium.org/690103008/diff/120001/ash/wm/overview/window_selector_item.cc File ash/wm/overview/window_selector_item.cc (right): https://codereview.chromium.org/690103008/diff/120001/ash/wm/overview/window_selector_item.cc#newcode267 ash/wm/overview/window_selector_item.cc:267: ...
5 years, 10 months ago (2015-02-12 21:28:44 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/690103008/140001
5 years, 10 months ago (2015-02-12 21:29:08 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/690103008/140001
5 years, 10 months ago (2015-02-12 21:33:53 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/24431)
5 years, 10 months ago (2015-02-12 22:56:13 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/690103008/140001
5 years, 10 months ago (2015-02-13 13:12:06 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/24783)
5 years, 10 months ago (2015-02-13 14:02:23 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/690103008/140001
5 years, 10 months ago (2015-02-13 14:32:41 UTC) #42
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 10 months ago (2015-02-13 15:14:01 UTC) #43
commit-bot: I haz the power
5 years, 10 months ago (2015-02-13 15:14:55 UTC) #44
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/7ec5114efa5eada853c2ece5d6edb0fa4ce5611a
Cr-Commit-Position: refs/heads/master@{#316217}

Powered by Google App Engine
This is Rietveld 408576698