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

Issue 470083004: athena: A simpler implementation of WindowListProvider. (Closed)

Created:
6 years, 4 months ago by sadrul
Modified:
6 years, 4 months ago
Reviewers:
oshima, mfomitchev
CC:
chromium-reviews
Project:
chromium
Visibility:
Public.

Description

athena: A simpler implementation of WindowListProvider. Introduce WindowListProviderImpl that simply works with the stacking order of child windows of the container. This changes the behaviour of repeated bezel swipes from the left edge to swipe between the last two active windows, which is the desired behaviour. BUG=403444 R=mfomitchev@chromium.org, oshima@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289984

Patch Set 1 #

Patch Set 2 : . #

Total comments: 5

Patch Set 3 : . #

Patch Set 4 : . #

Total comments: 7

Patch Set 5 : . #

Patch Set 6 : tot-merge #

Patch Set 7 : . #

Total comments: 4

Patch Set 8 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+202 lines, -245 lines) Patch
M athena/athena.gyp View 1 2 3 4 5 3 chunks +3 lines, -2 lines 0 comments Download
D athena/wm/mru_window_tracker.h View 1 chunk +0 lines, -49 lines 0 comments Download
D athena/wm/mru_window_tracker.cc View 1 chunk +0 lines, -53 lines 0 comments Download
M athena/wm/public/window_list_provider.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M athena/wm/split_view_controller.h View 1 2 3 4 5 6 4 chunks +8 lines, -28 lines 0 comments Download
M athena/wm/split_view_controller.cc View 1 2 3 4 5 6 7 5 chunks +21 lines, -70 lines 0 comments Download
M athena/wm/split_view_controller_unittest.cc View 1 2 3 4 5 4 chunks +9 lines, -28 lines 0 comments Download
A athena/wm/window_list_provider_impl.h View 1 2 1 chunk +30 lines, -0 lines 0 comments Download
A athena/wm/window_list_provider_impl.cc View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
A athena/wm/window_list_provider_impl_unittest.cc View 1 2 3 1 chunk +86 lines, -0 lines 0 comments Download
M athena/wm/window_manager_impl.cc View 1 2 3 4 5 6 7 6 chunks +14 lines, -12 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
sadrul
6 years, 4 months ago (2014-08-14 21:11:12 UTC) #1
mfomitchev
I think we should also take this opportunity to simply the SplitViewController: currently it only ...
6 years, 4 months ago (2014-08-14 21:58:54 UTC) #2
oshima
https://codereview.chromium.org/470083004/diff/20001/athena/wm/window_list_provider_impl.cc File athena/wm/window_list_provider_impl.cc (right): https://codereview.chromium.org/470083004/diff/20001/athena/wm/window_list_provider_impl.cc#newcode33 athena/wm/window_list_provider_impl.cc:33: container_->StackChildAtTop(window); window moves to top when activation changes. Would ...
6 years, 4 months ago (2014-08-14 22:07:05 UTC) #3
mfomitchev
https://codereview.chromium.org/470083004/diff/20001/athena/wm/window_list_provider_impl.cc File athena/wm/window_list_provider_impl.cc (right): https://codereview.chromium.org/470083004/diff/20001/athena/wm/window_list_provider_impl.cc#newcode33 athena/wm/window_list_provider_impl.cc:33: container_->StackChildAtTop(window); In practice I think we could get rid ...
6 years, 4 months ago (2014-08-14 22:19:08 UTC) #4
oshima
On 2014/08/14 22:19:08, mfomitchev wrote: > https://codereview.chromium.org/470083004/diff/20001/athena/wm/window_list_provider_impl.cc > File athena/wm/window_list_provider_impl.cc (right): > > https://codereview.chromium.org/470083004/diff/20001/athena/wm/window_list_provider_impl.cc#newcode33 > ...
6 years, 4 months ago (2014-08-14 22:45:50 UTC) #5
mfomitchev1
On 2014/08/14 22:45:50, oshima wrote: > On 2014/08/14 22:19:08, mfomitchev wrote: > > > https://codereview.chromium.org/470083004/diff/20001/athena/wm/window_list_provider_impl.cc ...
6 years, 4 months ago (2014-08-14 23:23:15 UTC) #6
oshima
On 2014/08/14 23:23:15, mfomitchev1 wrote: > On 2014/08/14 22:45:50, oshima wrote: > > On 2014/08/14 ...
6 years, 4 months ago (2014-08-14 23:27:01 UTC) #7
mfomitchev1
On 2014/08/14 23:23:15, mfomitchev1 wrote: > On 2014/08/14 22:45:50, oshima wrote: > > On 2014/08/14 ...
6 years, 4 months ago (2014-08-14 23:36:27 UTC) #8
sadrul
I have made a few more changes in this CL: * The SplitViewController (SVC) is ...
6 years, 4 months ago (2014-08-14 23:47:22 UTC) #9
oshima
lgtm
6 years, 4 months ago (2014-08-15 01:00:41 UTC) #10
mfomitchev
https://codereview.chromium.org/470083004/diff/60001/athena/wm/split_view_controller.cc File athena/wm/split_view_controller.cc (left): https://codereview.chromium.org/470083004/diff/60001/athena/wm/split_view_controller.cc#oldcode304 athena/wm/split_view_controller.cc:304: state_ = INACTIVE; Until split-overview is implemented, going to ...
6 years, 4 months ago (2014-08-15 14:42:29 UTC) #11
sadrul
https://codereview.chromium.org/470083004/diff/60001/athena/wm/split_view_controller.cc File athena/wm/split_view_controller.cc (left): https://codereview.chromium.org/470083004/diff/60001/athena/wm/split_view_controller.cc#oldcode304 athena/wm/split_view_controller.cc:304: state_ = INACTIVE; On 2014/08/15 14:42:28, mfomitchev wrote: > ...
6 years, 4 months ago (2014-08-15 16:07:13 UTC) #12
mfomitchev
https://codereview.chromium.org/470083004/diff/60001/athena/wm/split_view_controller.cc File athena/wm/split_view_controller.cc (left): https://codereview.chromium.org/470083004/diff/60001/athena/wm/split_view_controller.cc#oldcode304 athena/wm/split_view_controller.cc:304: state_ = INACTIVE; On 2014/08/15 16:07:12, sadrul wrote: > ...
6 years, 4 months ago (2014-08-15 16:43:26 UTC) #13
sadrul
On 2014/08/15 16:43:26, mfomitchev_OOO_Aug16-24 wrote: > https://codereview.chromium.org/470083004/diff/60001/athena/wm/split_view_controller.cc > File athena/wm/split_view_controller.cc (left): > > https://codereview.chromium.org/470083004/diff/60001/athena/wm/split_view_controller.cc#oldcode304 > ...
6 years, 4 months ago (2014-08-15 16:58:56 UTC) #14
sadrul
On 2014/08/15 16:58:56, sadrul wrote: > On 2014/08/15 16:43:26, mfomitchev_OOO_Aug16-24 wrote: > > > https://codereview.chromium.org/470083004/diff/60001/athena/wm/split_view_controller.cc ...
6 years, 4 months ago (2014-08-15 18:06:59 UTC) #15
mfomitchev
sgtm
6 years, 4 months ago (2014-08-15 18:11:31 UTC) #16
sadrul
On 2014/08/15 18:06:59, sadrul wrote: > On 2014/08/15 16:58:56, sadrul wrote: > > On 2014/08/15 ...
6 years, 4 months ago (2014-08-15 18:23:27 UTC) #17
mfomitchev
https://codereview.chromium.org/470083004/diff/120001/athena/wm/split_view_controller.cc File athena/wm/split_view_controller.cc (right): https://codereview.chromium.org/470083004/diff/120001/athena/wm/split_view_controller.cc#newcode90 athena/wm/split_view_controller.cc:90: state_ = INACTIVE; Set left/right window to NULL here ...
6 years, 4 months ago (2014-08-15 18:30:51 UTC) #18
sadrul
https://codereview.chromium.org/470083004/diff/120001/athena/wm/split_view_controller.cc File athena/wm/split_view_controller.cc (right): https://codereview.chromium.org/470083004/diff/120001/athena/wm/split_view_controller.cc#newcode90 athena/wm/split_view_controller.cc:90: state_ = INACTIVE; On 2014/08/15 18:30:51, mfomitchev_OOO_Aug16-24 wrote: > ...
6 years, 4 months ago (2014-08-15 18:44:19 UTC) #19
mfomitchev
LGTM
6 years, 4 months ago (2014-08-15 18:44:53 UTC) #20
sadrul
Committed patchset #8 manually as 289984 (presubmit successful).
6 years, 4 months ago (2014-08-15 19:48:16 UTC) #21
oshima
6 years, 4 months ago (2014-08-18 13:33:58 UTC) #22
On Fri, Aug 15, 2014 at 11:06 AM, <sadrul@chromium.org> wrote:

> On 2014/08/15 16:58:56, sadrul wrote:
>
>> On 2014/08/15 16:43:26, mfomitchev_OOO_Aug16-24 wrote:
>> >
>>
>
> https://codereview.chromium.org/470083004/diff/60001/athena/wm/split_view_
> controller.cc
>
>> > File athena/wm/split_view_controller.cc (left):
>> >
>> >
>>
>
> https://codereview.chromium.org/470083004/diff/60001/athena/wm/split_view_
> controller.cc#oldcode304
>
>> > athena/wm/split_view_controller.cc:304: state_ = INACTIVE;
>> > On 2014/08/15 16:07:12, sadrul wrote:
>> > > On 2014/08/15 14:42:28, mfomitchev wrote:
>> > > > Until split-overview is implemented, going to overview means
>> resetting
>>
> the
>
>> > > state
>> > > > to splitview INACTIVE. Somebody needs to do that...
>> > >
>> > > A good fix for this for now would be to explicitly turn off the
>> split-view
>> > mode
>> > > when going into overview mode (using oshima@'s ToggleSplitView())
>> (like we
>> > reset
>> > > the bezel-controller). The proper fix would be to not turn it off at
>> all
>> > > (crbug.com/404119)
>> >
>> > Sure. So what are you going to do now? Wait for oshima's change to land
>>
> first?
>
>  oshima@ What do you think? Should I wait for
>> https://codereview.chromium.org/465983002/ to land, or add a temporary
>> SVC::DeactivateSplit() with this CL (which presumably would be removed
>> when
>> ToggleSplitView() is added)?
>>
>
> Looks like oshima@ is OOO today. So I am going to go ahead and make this
> change
> (to unblock https://codereview.chromium.org/468763002/).
>
>
sgtm and lgtm


>
>
>  > If you don't want to do that, I think you can simply reset
>> > split_view_controller_ just like you do with the bezel controller for
>> now.
>>
>
>
> https://codereview.chromium.org/470083004/
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698