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

Issue 1056793006: [Docking] Persists docked state on Chrome OS (Closed)

Created:
5 years, 8 months ago by varkha
Modified:
4 years, 8 months ago
CC:
chromium-reviews, kalyank, tfarina, sadrul, extensions-reviews_chromium.org, chromium-apps-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Docking] Persists docked state for chrome app and extension windows on Chrome OS. Browser windows should not be affected - the browser will start normal or maximized but never initially docked. BUG=271582 Committed: https://crrev.com/74014e0e926e2170188c9d7cc4706ccba36448c9 Cr-Commit-Position: refs/heads/master@{#328356}

Patch Set 1 : [Docking] Makes docked state persistent on Chrome OS #

Patch Set 2 : [Docking] Makes docked state persistent on Chrome OS #

Total comments: 2

Patch Set 3 : [Docking] Makes docked state persistent on Chrome OS (rebased) #

Total comments: 4

Patch Set 4 : [Docking] Makes docked state persistent on Chrome OS (comments) #

Total comments: 4

Patch Set 5 : [Docking] Makes docked state persistent on Chrome OS (comments) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -14 lines) Patch
M ash/wm/dock/docked_window_resizer.cc View 1 chunk +3 lines, -1 line 0 comments Download
M ash/wm/window_state.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M ash/wm/wm_types.h View 2 chunks +1 line, -1 line 0 comments Download
M ash/wm/wm_types.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/sessions/sessions_api.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/api/tabs/tabs_api.cc View 1 2 3 4 3 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/apps/chrome_native_app_window_views.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/apps/chrome_native_app_window_views.cc View 1 2 3 4 3 chunks +14 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/apps/chrome_native_app_window_views_aura.h View 1 2 3 4 1 chunk +7 lines, -1 line 0 comments Download
M chrome/browser/ui/views/apps/chrome_native_app_window_views_aura.cc View 1 2 3 4 4 chunks +23 lines, -2 lines 0 comments Download
M chrome/common/extensions/api/windows.json View 1 chunk +1 line, -1 line 0 comments Download
M components/sessions/session_service_commands.cc View 3 chunks +6 lines, -1 line 0 comments Download
M ui/base/ui_base_types.h View 1 chunk +2 lines, -1 line 0 comments Download
M ui/views/widget/native_widget_mac.mm View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 56 (23 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1056793006/60001
5 years, 8 months ago (2015-04-20 16:33:14 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1056793006/70012
5 years, 8 months ago (2015-04-20 17:19:41 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1056793006/90001
5 years, 8 months ago (2015-04-20 17:54:41 UTC) #12
varkha
oshima@, can you please take a look? This makes docked state for panels and chrome ...
5 years, 8 months ago (2015-04-20 18:10:46 UTC) #14
oshima
CL looks reasonable, but getting buy-in from apps team and session restore owners would be ...
5 years, 8 months ago (2015-04-23 17:26:06 UTC) #16
varkha
Yes, a window will still stay docked even if the display metrics has changed over ...
5 years, 8 months ago (2015-04-24 16:17:33 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1056793006/150001
5 years, 8 months ago (2015-04-24 16:23:15 UTC) #20
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 8 months ago (2015-04-24 17:29:13 UTC) #22
benwells
What exactly are docked windows? Sorry for the dumb question, I just want to make ...
5 years, 7 months ago (2015-04-27 01:25:08 UTC) #23
varkha
On 2015/04/27 01:25:08, benwells wrote: > What exactly are docked windows? Sorry for the dumb ...
5 years, 7 months ago (2015-04-27 01:56:59 UTC) #24
benwells
On 2015/04/27 01:56:59, varkha wrote: > On 2015/04/27 01:25:08, benwells wrote: > > What exactly ...
5 years, 7 months ago (2015-04-27 22:09:22 UTC) #25
varkha
> Are you planning to restore docked browser windows? No. Browser windows are more of ...
5 years, 7 months ago (2015-04-27 23:00:00 UTC) #26
benwells
On 2015/04/27 23:00:00, varkha wrote: > > Are you planning to restore docked browser windows? ...
5 years, 7 months ago (2015-04-27 23:12:57 UTC) #27
varkha
1. The browser on the left is maximized (not docked) and takes over all of ...
5 years, 7 months ago (2015-04-28 01:36:52 UTC) #28
sadrul
ui/ lgtm
5 years, 7 months ago (2015-04-28 17:11:23 UTC) #29
benwells
https://codereview.chromium.org/1056793006/diff/150001/chrome/browser/ui/views/apps/chrome_native_app_window_views.cc File chrome/browser/ui/views/apps/chrome_native_app_window_views.cc (right): https://codereview.chromium.org/1056793006/diff/150001/chrome/browser/ui/views/apps/chrome_native_app_window_views.cc#newcode222 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc:222: params.bounds = gfx::Rect(initial_window_bounds.origin(), preferred_size_); This logic is a bit ...
5 years, 7 months ago (2015-04-28 23:46:02 UTC) #30
varkha
Thanks, you were right, I guess I should try using Windows more often than once ...
5 years, 7 months ago (2015-04-29 16:54:16 UTC) #31
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1056793006/170001
5 years, 7 months ago (2015-04-29 18:16:57 UTC) #34
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-04-29 19:35:55 UTC) #36
benwells
https://codereview.chromium.org/1056793006/diff/170001/chrome/browser/ui/views/apps/chrome_native_app_window_views.cc File chrome/browser/ui/views/apps/chrome_native_app_window_views.cc (right): https://codereview.chromium.org/1056793006/diff/170001/chrome/browser/ui/views/apps/chrome_native_app_window_views.cc#newcode220 chrome/browser/ui/views/apps/chrome_native_app_window_views.cc:220: bool position_specified = I'm not sure what this check ...
5 years, 7 months ago (2015-04-29 21:46:42 UTC) #37
varkha
PTAL, I've changed a flow a bit although the logic seems correct to me. Please ...
5 years, 7 months ago (2015-04-30 02:15:31 UTC) #39
benwells
lgtm
5 years, 7 months ago (2015-04-30 07:24:48 UTC) #40
varkha
+skuhne@ for OWNERS in components/sessions (new value in the show type enum that is used ...
5 years, 7 months ago (2015-04-30 15:54:38 UTC) #42
varkha
skuhne@, ping?
5 years, 7 months ago (2015-05-04 14:07:30 UTC) #43
Mr4D (OOO till 08-26)
lgtm (sorry had a conjunctivitis and was not able to do anything)
5 years, 7 months ago (2015-05-04 14:46:42 UTC) #44
varkha
Thanks all, oshima@, do you still have comments about this CL (+ OWNERS for ash/*)?
5 years, 7 months ago (2015-05-04 14:49:01 UTC) #45
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1056793006/210001
5 years, 7 months ago (2015-05-04 14:49:51 UTC) #48
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-04 15:48:55 UTC) #50
varkha
oshima@, ping?
5 years, 7 months ago (2015-05-05 16:13:34 UTC) #51
oshima
lgtm
5 years, 7 months ago (2015-05-05 16:48:19 UTC) #52
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1056793006/210001
5 years, 7 months ago (2015-05-05 16:49:38 UTC) #54
commit-bot: I haz the power
Committed patchset #5 (id:210001)
5 years, 7 months ago (2015-05-05 18:12:46 UTC) #55
commit-bot: I haz the power
5 years, 7 months ago (2015-05-05 18:13:44 UTC) #56
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/74014e0e926e2170188c9d7cc4706ccba36448c9
Cr-Commit-Position: refs/heads/master@{#328356}

Powered by Google App Engine
This is Rietveld 408576698