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

Issue 480293003: Adding functions to the window_list_provider for accessing the activities window list (Closed)

Created:
6 years, 4 months ago by Mr4D (OOO till 08-26)
Modified:
6 years ago
Reviewers:
oshima, Dan Beam
CC:
chromium-reviews
Project:
chromium
Visibility:
Public.

Description

Adding functions to the window_list_provider for accessing the activities window list As discussed - added the window/activity order management functions to the WindowListProvider and changed the use cases (at least partially). There are still more things to do, but we might want to do that either a. incrementally or b. as a separate issue since the associated BUG(388085) has nothing to do with this. Note: This is more work - especially because the code in question is being worked on actively by others. BUG=407103 TEST=athena_unittest.SimpleChecks, athena_unittest.TestWindowOrderingFunctions Committed: https://crrev.com/227733e374f946b4335ffd55938da4296057bedf Cr-Commit-Position: refs/heads/master@{#294103}

Patch Set 1 #

Patch Set 2 : Wired up the V2 app resource mgmt framework #

Patch Set 3 : Fixed memory leak #

Patch Set 4 : Rebased #

Patch Set 5 : Updated the other functions as well #

Total comments: 14

Patch Set 6 : Moved Window observer from ResourceManager to WindowListProvider #

Total comments: 17

Patch Set 7 : Addressed #

Total comments: 4

Patch Set 8 : Addressed #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+362 lines, -29 lines) Patch
M athena/athena.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M athena/content/DEPS View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M athena/content/app_activity.cc View 1 2 3 4 5 2 chunks +6 lines, -3 lines 0 comments Download
M athena/content/app_activity_proxy.cc View 1 2 3 4 5 2 chunks +6 lines, -4 lines 0 comments Download
M athena/content/app_activity_registry.cc View 1 2 3 4 5 6 2 chunks +5 lines, -2 lines 0 comments Download
M athena/resource_manager/resource_manager_impl.cc View 1 2 3 4 5 6 6 chunks +13 lines, -7 lines 0 comments Download
M athena/wm/public/window_list_provider.h View 1 2 3 4 5 6 1 chunk +30 lines, -1 line 0 comments Download
A athena/wm/public/window_list_provider_observer.h View 1 2 3 4 5 6 1 chunk +23 lines, -0 lines 0 comments Download
M athena/wm/public/window_manager.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M athena/wm/split_view_controller.cc View 1 2 3 4 5 6 1 chunk +6 lines, -2 lines 0 comments Download
M athena/wm/window_list_provider_impl.h View 1 2 3 4 5 6 1 chunk +20 lines, -1 line 0 comments Download
M athena/wm/window_list_provider_impl.cc View 1 2 3 4 5 6 3 chunks +76 lines, -1 line 0 comments Download
M athena/wm/window_list_provider_impl_unittest.cc View 1 2 3 4 5 6 7 5 chunks +163 lines, -0 lines 1 comment Download
M athena/wm/window_manager_impl.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M athena/wm/window_manager_impl.cc View 1 2 3 4 5 6 2 chunks +6 lines, -5 lines 0 comments Download
M athena/wm/window_manager_unittest.cc View 1 2 3 4 5 6 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
Mr4D (OOO till 08-26)
Will call the functions accordingly from the resource manager once my patch has (finally) landed. ...
6 years, 4 months ago (2014-08-21 22:35:54 UTC) #1
Mr4D (OOO till 08-26)
Since the V2 app framework has landed I merged the required changes in.
6 years, 4 months ago (2014-08-21 23:19:50 UTC) #2
oshima
can you rebase and upload new patch?
6 years, 3 months ago (2014-09-05 17:30:11 UTC) #3
Mr4D (OOO till 08-26)
Rebased! I will change the new resource manager related todos till after this landed. Please ...
6 years, 3 months ago (2014-09-05 20:34:44 UTC) #4
oshima
I'll have a couple of more comments, but need to think a bit more. https://codereview.chromium.org/480293003/diff/80001/athena/wm/public/window_list_provider.h ...
6 years, 3 months ago (2014-09-05 23:13:06 UTC) #5
Mr4D (OOO till 08-26)
Moved the WindowObservers from the ResourceManager to the WindowListProvider. Wanted to do that later, but ...
6 years, 3 months ago (2014-09-08 17:35:07 UTC) #6
oshima
thanks, looks better. https://codereview.chromium.org/480293003/diff/80001/athena/wm/public/window_list_provider.h File athena/wm/public/window_list_provider.h (right): https://codereview.chromium.org/480293003/diff/80001/athena/wm/public/window_list_provider.h#newcode21 athena/wm/public/window_list_provider.h:21: virtual aura::Window::Windows GetCurrentWindowList() const = 0; ...
6 years, 3 months ago (2014-09-09 18:28:38 UTC) #7
Mr4D (OOO till 08-26)
Rebased and addresse. Please have another look! https://codereview.chromium.org/480293003/diff/80001/athena/wm/public/window_list_provider.h File athena/wm/public/window_list_provider.h (right): https://codereview.chromium.org/480293003/diff/80001/athena/wm/public/window_list_provider.h#newcode21 athena/wm/public/window_list_provider.h:21: virtual aura::Window::Windows ...
6 years, 3 months ago (2014-09-10 00:01:59 UTC) #8
oshima
lgtm with nits https://codereview.chromium.org/480293003/diff/100001/athena/resource_manager/resource_manager_impl.cc File athena/resource_manager/resource_manager_impl.cc (right): https://codereview.chromium.org/480293003/diff/100001/athena/resource_manager/resource_manager_impl.cc#newcode200 athena/resource_manager/resource_manager_impl.cc:200: if (pause_) { On 2014/09/10 00:01:58, ...
6 years, 3 months ago (2014-09-10 01:03:31 UTC) #9
Mr4D (OOO till 08-26)
Thanks! https://codereview.chromium.org/480293003/diff/120001/athena/wm/window_list_provider_impl_unittest.cc File athena/wm/window_list_provider_impl_unittest.cc (right): https://codereview.chromium.org/480293003/diff/120001/athena/wm/window_list_provider_impl_unittest.cc#newcode44 athena/wm/window_list_provider_impl_unittest.cc:44: output += (output.size() ? std::string(" ") : std::string("")) ...
6 years, 3 months ago (2014-09-10 03:20:55 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skuhne@chromium.org/480293003/140001
6 years, 3 months ago (2014-09-10 03:26:08 UTC) #12
commit-bot: I haz the power
Committed patchset #8 (id:140001) as e42ff999d35e3e6bf22b91fa7672e43d8a8c838d
6 years, 3 months ago (2014-09-10 04:48:23 UTC) #13
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/227733e374f946b4335ffd55938da4296057bedf Cr-Commit-Position: refs/heads/master@{#294103}
6 years, 3 months ago (2014-09-10 04:53:32 UTC) #14
Dan Beam
6 years ago (2014-12-11 22:28:32 UTC) #18
Message was sent while issue was closed.
https://codereview.chromium.org/480293003/diff/140001/athena/wm/window_list_p...
File athena/wm/window_list_provider_impl_unittest.cc (right):

https://codereview.chromium.org/480293003/diff/140001/athena/wm/window_list_p...
athena/wm/window_list_provider_impl_unittest.cc:45: std::to_string(i + 1);
are we allowed to use std::to_string() in chromium?

Powered by Google App Engine
This is Rietveld 408576698