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

Issue 1149153007: Ignores programmatic bounds changes for docked windows (Closed)

Created:
5 years, 6 months ago by varkha
Modified:
5 years, 6 months ago
Reviewers:
oshima
CC:
chromium-reviews, kalyank, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ignores programmatic bounds changes for docked windows. This prevents a window that is using resizeTo or similar API from changing window bounds while it is managed by DockedLayoutManager. BUG=496852 TEST=DockedWindowLayoutManagerTest.DockedWindowBoundsDontChange Committed: https://crrev.com/352e317da0aeda5c4e1e21a81d4480536e77b81e Cr-Commit-Position: refs/heads/master@{#333226}

Patch Set 1 : Ignores programmatic bounds changes for docked windows #

Patch Set 2 : Ignores programmatic bounds changes for docked windows (test) #

Total comments: 4

Patch Set 3 : Ignores programmatic bounds changes for docked windows (comments) #

Total comments: 2

Patch Set 4 : Ignores programmatic bounds changes for docked windows (comments) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -8 lines) Patch
M ash/wm/dock/docked_window_layout_manager.cc View 1 2 3 7 chunks +10 lines, -8 lines 0 comments Download
M ash/wm/dock/docked_window_layout_manager_unittest.cc View 1 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
varkha
oshima@, PTAL. I think this small change is a better overall behavior even though it ...
5 years, 6 months ago (2015-06-04 20:50:53 UTC) #3
varkha
Sorry, wrong comment. This CL ignores programmatic change from the apps which may be processed ...
5 years, 6 months ago (2015-06-04 20:54:27 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1149153007/20001
5 years, 6 months ago (2015-06-04 20:57:43 UTC) #6
oshima
Ideally, these logic should move to WindowState/DefaultState. https://codereview.chromium.org/1149153007/diff/40001/ash/wm/dock/docked_window_layout_manager.cc File ash/wm/dock/docked_window_layout_manager.cc (right): https://codereview.chromium.org/1149153007/diff/40001/ash/wm/dock/docked_window_layout_manager.cc#newcode213 ash/wm/dock/docked_window_layout_manager.cc:213: // Certain ...
5 years, 6 months ago (2015-06-04 22:40:29 UTC) #7
varkha
Did you mean the logic in DockedWindowLayoutManager::SetChildBounds? I think what I am doing is precisely ...
5 years, 6 months ago (2015-06-04 23:22:01 UTC) #8
oshima
> Did you mean the logic in DockedWindowLayoutManager::SetChildBounds? I think > what I am doing ...
5 years, 6 months ago (2015-06-05 23:08:36 UTC) #9
varkha
https://codereview.chromium.org/1149153007/diff/60001/ash/wm/dock/docked_window_layout_manager.cc File ash/wm/dock/docked_window_layout_manager.cc (right): https://codereview.chromium.org/1149153007/diff/60001/ash/wm/dock/docked_window_layout_manager.cc#newcode214 ash/wm/dock/docked_window_layout_manager.cc:214: bool IsIgnoredForDocking(const aura::Window* window) { On 2015/06/05 23:08:36, oshima ...
5 years, 6 months ago (2015-06-07 02:53:24 UTC) #10
oshima
lgtm thanks!
5 years, 6 months ago (2015-06-07 04:36:53 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1149153007/80001
5 years, 6 months ago (2015-06-07 04:38:23 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 6 months ago (2015-06-07 05:31:39 UTC) #14
commit-bot: I haz the power
5 years, 6 months ago (2015-06-07 05:32:29 UTC) #15
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/352e317da0aeda5c4e1e21a81d4480536e77b81e
Cr-Commit-Position: refs/heads/master@{#333226}

Powered by Google App Engine
This is Rietveld 408576698