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

Issue 12212040: Make the workspace cycler animation parameters editable via chrome://gesture (Closed)

Created:
7 years, 10 months ago by pkotwicz
Modified:
7 years, 10 months ago
Reviewers:
sadrul, sky
CC:
chromium-reviews, arv (Not doing code reviews), ben+watch_chromium.org
Visibility:
Public.

Description

Make the workspace cycler animation parameters editable via chrome://gesture Bug=174123 Test=Manual Repro steps: 1) Run chrome with --ash-enable-workspace-scrubbing 2) Go to chrome://gesture 3) Modify the value of "Duration of the animations to start cycling" 4) Ensure that you have several maximized workspaces 5) Move fingers vertically on track pad. Notice difference in the duration of the animations to start cycling through workspaces Repeat 3 - 5 as many times as you see fit Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182243

Patch Set 1 #

Total comments: 8

Patch Set 2 : Changes per sadrul #

Total comments: 1

Patch Set 3 : NOTREACHED() #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : Rebased + Nit #

Patch Set 6 : Fix aura win compile failure #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+620 lines, -137 lines) Patch
M ash/ash.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ash/wm/workspace/workspace_cycler.cc View 1 2 3 4 3 chunks +8 lines, -5 lines 0 comments Download
M ash/wm/workspace/workspace_cycler_animator.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/workspace/workspace_cycler_animator.cc View 1 2 3 4 5 6 16 chunks +101 lines, -91 lines 0 comments Download
A ash/wm/workspace/workspace_cycler_configuration.h View 1 2 3 4 1 chunk +93 lines, -0 lines 0 comments Download
A ash/wm/workspace/workspace_cycler_configuration.cc View 1 2 1 chunk +160 lines, -0 lines 0 comments Download
M ash/wm/workspace/workspace_manager.cc View 3 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/resources/gesture_config.js View 1 2 3 5 chunks +74 lines, -4 lines 0 comments Download
M chrome/browser/ui/gesture_prefs_observer_factory_aura.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/gesture_prefs_observer_factory_aura.cc View 1 2 3 4 5 11 chunks +126 lines, -27 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 2 chunks +17 lines, -1 line 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 2 chunks +33 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
pkotwicz
Sadrul, can you please take a look?
7 years, 10 months ago (2013-02-06 20:17:37 UTC) #1
pkotwicz
Ping!
7 years, 10 months ago (2013-02-08 19:48:02 UTC) #2
sadrul
Looks mostly good. Some comments: https://codereview.chromium.org/12212040/diff/1/ash/ash.gyp File ash/ash.gyp (right): https://codereview.chromium.org/12212040/diff/1/ash/ash.gyp#newcode434 ash/ash.gyp:434: 'wm/workspace/workspace_cycler_configuration.h', sort https://codereview.chromium.org/12212040/diff/1/ash/wm/workspace/workspace_cycler_configuration.h File ...
7 years, 10 months ago (2013-02-11 16:41:19 UTC) #3
pkotwicz
Sadrul, can you please take another look? https://codereview.chromium.org/12212040/diff/1/chrome/browser/ui/gesture_prefs_observer_factory_aura.cc File chrome/browser/ui/gesture_prefs_observer_factory_aura.cc (right): https://codereview.chromium.org/12212040/diff/1/chrome/browser/ui/gesture_prefs_observer_factory_aura.cc#newcode37 chrome/browser/ui/gesture_prefs_observer_factory_aura.cc:37: CR_DEFINE_STATIC_LOCAL(std::vector<OverscrollPref>, overscroll_prefs, ...
7 years, 10 months ago (2013-02-12 00:00:25 UTC) #4
sadrul
https://codereview.chromium.org/12212040/diff/1/chrome/browser/ui/gesture_prefs_observer_factory_aura.cc File chrome/browser/ui/gesture_prefs_observer_factory_aura.cc (right): https://codereview.chromium.org/12212040/diff/1/chrome/browser/ui/gesture_prefs_observer_factory_aura.cc#newcode37 chrome/browser/ui/gesture_prefs_observer_factory_aura.cc:37: CR_DEFINE_STATIC_LOCAL(std::vector<OverscrollPref>, overscroll_prefs, ()); On 2013/02/12 00:00:26, pkotwicz wrote: > ...
7 years, 10 months ago (2013-02-12 15:59:58 UTC) #5
sadrul
> > In particular, I did not want to have WorkspaceCyclerConfiguration::NONE. > > Why would ...
7 years, 10 months ago (2013-02-12 16:11:25 UTC) #6
pkotwicz
Scott, can you please take a look?
7 years, 10 months ago (2013-02-12 16:52:28 UTC) #7
sky
As long as this is temporary, LGTM https://codereview.chromium.org/12212040/diff/12002/ash/wm/workspace/workspace_cycler_configuration.h File ash/wm/workspace/workspace_cycler_configuration.h (right): https://codereview.chromium.org/12212040/diff/12002/ash/wm/workspace/workspace_cycler_configuration.h#newcode67 ash/wm/workspace/workspace_cycler_configuration.h:67: // Returns ...
7 years, 10 months ago (2013-02-12 18:30:56 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/12212040/13001
7 years, 10 months ago (2013-02-12 23:44:35 UTC) #9
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 10 months ago (2013-02-13 00:15:58 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/12212040/9006
7 years, 10 months ago (2013-02-13 01:57:24 UTC) #11
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 10 months ago (2013-02-13 04:00:03 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pkotwicz@chromium.org/12212040/16001
7 years, 10 months ago (2013-02-13 14:28:54 UTC) #13
commit-bot: I haz the power
7 years, 10 months ago (2013-02-13 16:39:31 UTC) #14
Message was sent while issue was closed.
Change committed as 182243

Powered by Google App Engine
This is Rietveld 408576698