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

Issue 8430024: Add WorkspaceObserver to observe changes in workspace state (Closed)

Created:
9 years, 1 month ago by oshima
Modified:
9 years, 1 month ago
Reviewers:
sky
CC:
chromium-reviews, tfarina, dhollowa, Paweł Hajdan Jr.
Visibility:
Public.

Description

Add WorkspaceObserver to observe changes in workspace state Reduce dependencies amongst DCLM, ShowStateC, WorkspaceC and such. I changed my mind and kept "WorkspaceController owns WorkspaceManager" as this seems to be better in long run. I decoupled DCLM from ShowStateC and WorkspaceC. I moved a layout_in_progress flag to WorkspaceManager as it really belongs there, and can reduce dependency. BUG=84070 TEST=new test conditions for workspace observer are added to workspace_manager_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=108301

Patch Set 1 #

Patch Set 2 : " #

Total comments: 5

Patch Set 3 : update comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+208 lines, -64 lines) Patch
M ui/aura_shell/aura_shell.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/aura_shell/default_container_layout_manager.h View 1 3 chunks +2 lines, -16 lines 0 comments Download
M ui/aura_shell/default_container_layout_manager.cc View 1 10 chunks +5 lines, -16 lines 0 comments Download
ui/aura_shell/default_container_layout_manager_unittest.cc View 1 3 chunks +9 lines, -4 lines 0 comments Download
M ui/aura_shell/shell.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download
M ui/aura_shell/show_state_controller.h View 1 2 chunks +4 lines, -4 lines 0 comments Download
M ui/aura_shell/show_state_controller.cc View 1 3 chunks +3 lines, -6 lines 0 comments Download
M ui/aura_shell/workspace/workspace.cc View 1 2 chunks +2 lines, -0 lines 0 comments Download
M ui/aura_shell/workspace/workspace_controller.h View 1 2 chunks +4 lines, -6 lines 0 comments Download
M ui/aura_shell/workspace/workspace_controller.cc View 1 2 chunks +2 lines, -7 lines 0 comments Download
M ui/aura_shell/workspace/workspace_manager.h View 1 2 5 chunks +24 lines, -0 lines 0 comments Download
M ui/aura_shell/workspace/workspace_manager.cc View 1 4 chunks +30 lines, -5 lines 0 comments Download
M ui/aura_shell/workspace/workspace_manager_unittest.cc View 1 6 chunks +77 lines, -0 lines 0 comments Download
A ui/aura_shell/workspace/workspace_observer.h View 1 2 1 chunk +40 lines, -0 lines 0 comments Download
M views/widget/native_widget_aura.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
oshima
9 years, 1 month ago (2011-11-02 00:29:48 UTC) #1
sky
LGTM http://codereview.chromium.org/8430024/diff/6001/ui/aura_shell/workspace/workspace_manager.h File ui/aura_shell/workspace/workspace_manager.h (right): http://codereview.chromium.org/8430024/diff/6001/ui/aura_shell/workspace/workspace_manager.h#newcode39 ui/aura_shell/workspace/workspace_manager.h:39: aura::Window* viewport() { return viewport_; } nit: this ...
9 years, 1 month ago (2011-11-02 03:57:49 UTC) #2
oshima
On 2011/11/02 03:57:49, sky wrote: > LGTM > > http://codereview.chromium.org/8430024/diff/6001/ui/aura_shell/workspace/workspace_manager.h > File ui/aura_shell/workspace/workspace_manager.h (right): > ...
9 years, 1 month ago (2011-11-02 14:50:44 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oshima@chromium.org/8430024/8001
9 years, 1 month ago (2011-11-02 14:51:01 UTC) #4
commit-bot: I haz the power
9 years, 1 month ago (2011-11-02 14:51:04 UTC) #5
Can't process patch for file
ui/aura_shell/default_container_layout_manager_unittest.cc.
File's status is None, patchset upload is incomplete.

Powered by Google App Engine
This is Rietveld 408576698