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

Issue 1221193009: [Docking] Persists docked state for tab-less browser windows (Closed)

Created:
5 years, 5 months ago by varkha
Modified:
5 years, 5 months ago
CC:
chromium-reviews, tdanderson+views_chromium.org, tfarina
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 tab-less browser windows. Allow docked state to be saved and restored for non-tabstrip app browser windows (e.g. bookmarklets saved with chrome-menu->More Tools->Add to shelf... or web apps running in a window). For example https://www.google.com/calendar/gpcal works quite well when docked. This CL builds on persistent docked state introduced for V2 apps in https://codereview.chromium.org/1056793006/. BUG=271582 TEST= Install Maps web app (https://chrome.google.com/webstore/detail/google-maps/lneaknkopdijkpnocmklfnjbeapigfbh). Pin it to the launcher shelf and select to run it in a window (not as a tab). Launch the maps web app in a window and dock it at screen edge (Alt+] twice). Close it. Click on a shelf icon for the app, verify that it opens in docked state. Undock, close, relaunch - should open in normal state. Repeat for a bookmarklet (https://www.google.com/calendar/gpcal saved as a shelf icon and set to run in a window). Leave both those windows docked and shut down / restart a session. The docked state should get restored. Open a web browser window, point it to some URL. Dock the browser window (Alt+] twice). Close it and reopen, should open normally (not docked). Dock it again and restart session, should open normally. Committed: https://crrev.com/86fc7fe26677116fc53d610ef7ee03c3ec2ca154 Cr-Commit-Position: refs/heads/master@{#338346}

Patch Set 1 : [Docking] Persists docked state for tab-less browser windows #

Total comments: 8

Patch Set 2 : [Docking] Persists docked state for tab-less browser windows (nits) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+171 lines, -5 lines) Patch
M chrome/browser/ui/views/chrome_views_delegate.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_frame_ash.cc View 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view_interactive_uitest.cc View 1 2 chunks +121 lines, -0 lines 0 comments Download
M chrome/browser/ui/window_sizer/window_sizer.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M ui/views/widget/native_widget_aura.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/widget/native_widget_aura.cc View 1 4 chunks +27 lines, -5 lines 0 comments Download

Messages

Total messages: 47 (25 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/1221193009/40001
5 years, 5 months ago (2015-07-09 04:19:40 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1221193009/60001
5 years, 5 months ago (2015-07-09 04:30:37 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 5 months ago (2015-07-09 05:27:31 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1221193009/80001
5 years, 5 months ago (2015-07-09 18:52:58 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_32_ng/builds/71599) mac_chromium_compile_dbg_ng on ...
5 years, 5 months ago (2015-07-09 18:58:09 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1221193009/120001
5 years, 5 months ago (2015-07-09 19:30:29 UTC) #19
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 5 months ago (2015-07-09 21:12:14 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1221193009/220001
5 years, 5 months ago (2015-07-09 23:48:04 UTC) #27
varkha
+pkasting@, Can you please take a look? You can try it with the mobile calendar ...
5 years, 5 months ago (2015-07-10 00:13:54 UTC) #30
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 5 months ago (2015-07-10 00:28:39 UTC) #32
Peter Kasting
I'm sorry, I don't know what I'm trying here. The bug says basically nothing and ...
5 years, 5 months ago (2015-07-10 06:09:01 UTC) #33
varkha
On 2015/07/10 06:09:01, Peter Kasting wrote: > I'm sorry, I don't know what I'm trying ...
5 years, 5 months ago (2015-07-10 13:00:41 UTC) #34
Peter Kasting
It sounds like you're implementing something desirable, so I would assume what you really need ...
5 years, 5 months ago (2015-07-10 16:05:34 UTC) #36
varkha
On 2015/07/10 16:05:34, Peter Kasting wrote: > It sounds like you're implementing something desirable, so ...
5 years, 5 months ago (2015-07-10 16:20:44 UTC) #37
Peter Kasting
LGTM, though I'd still prefer this to be reviewed by someone who knows anything about ...
5 years, 5 months ago (2015-07-10 16:40:56 UTC) #38
oshima
lgtm with nits https://codereview.webrtc.org/1221193009/diff/220001/chrome/browser/ui/views/frame/browser_view_interactive_uitest.cc File chrome/browser/ui/views/frame/browser_view_interactive_uitest.cc (right): https://codereview.webrtc.org/1221193009/diff/220001/chrome/browser/ui/views/frame/browser_view_interactive_uitest.cc#newcode46 chrome/browser/ui/views/frame/browser_view_interactive_uitest.cc:46: class BrowserViewTestP : public BrowserViewTest, nit: ...
5 years, 5 months ago (2015-07-10 17:43:56 UTC) #39
sadrul
lgtm
5 years, 5 months ago (2015-07-10 18:00:23 UTC) #40
varkha
Thanks! https://codereview.chromium.org/1221193009/diff/220001/chrome/browser/ui/views/frame/browser_view_interactive_uitest.cc File chrome/browser/ui/views/frame/browser_view_interactive_uitest.cc (right): https://codereview.chromium.org/1221193009/diff/220001/chrome/browser/ui/views/frame/browser_view_interactive_uitest.cc#newcode46 chrome/browser/ui/views/frame/browser_view_interactive_uitest.cc:46: class BrowserViewTestP : public BrowserViewTest, On 2015/07/10 17:43:56, ...
5 years, 5 months ago (2015-07-10 19:38:25 UTC) #41
varkha
Thanks! https://codereview.chromium.org/1221193009/diff/220001/chrome/browser/ui/views/frame/browser_view_interactive_uitest.cc File chrome/browser/ui/views/frame/browser_view_interactive_uitest.cc (right): https://codereview.chromium.org/1221193009/diff/220001/chrome/browser/ui/views/frame/browser_view_interactive_uitest.cc#newcode46 chrome/browser/ui/views/frame/browser_view_interactive_uitest.cc:46: class BrowserViewTestP : public BrowserViewTest, On 2015/07/10 17:43:56, ...
5 years, 5 months ago (2015-07-10 19:38:26 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1221193009/240001
5 years, 5 months ago (2015-07-10 19:40:45 UTC) #45
commit-bot: I haz the power
Committed patchset #2 (id:240001)
5 years, 5 months ago (2015-07-10 20:36:56 UTC) #46
commit-bot: I haz the power
5 years, 5 months ago (2015-07-10 20:37:57 UTC) #47
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/86fc7fe26677116fc53d610ef7ee03c3ec2ca154
Cr-Commit-Position: refs/heads/master@{#338346}

Powered by Google App Engine
This is Rietveld 408576698