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

Issue 1109393011: Pull back windows to the original user desktop when clicking on the correspond window list bubble i… (Closed)

Created:
5 years, 7 months ago by xdai1
Modified:
5 years, 7 months ago
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

Pull back windows to the original user desktop when clicking on the correspond shelf icon or window list bubble item. Also prevent teleport the Settings window between users. BUG=478360 Committed: https://crrev.com/e7d888132fc2fd641622d86b2b4c92fa4d01b124 Cr-Commit-Position: refs/heads/master@{#330137}

Patch Set 1 #

Patch Set 2 : Fix the failed tests. #

Patch Set 3 : #

Total comments: 3

Patch Set 4 : Don't append teleport window context menu item for delicated settings window. #

Total comments: 7

Patch Set 5 : Use existing multi_user_util::MoveWindowToCurrentDesktop() instead. #

Patch Set 6 : Change the function's name to IsChromeSettingsAppOrPopupWindow(). #

Total comments: 2

Patch Set 7 : Address pkasting@'s comments. #

Total comments: 10

Patch Set 8 : Address pkasting@'s comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -1 line) Patch
M chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_browser.cc View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_tab.cc View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/system_menu_model_builder.cc View 1 2 3 4 5 6 7 3 chunks +27 lines, -1 line 0 comments Download

Messages

Total messages: 26 (8 generated)
xdai1
Stefan, could you help to take a look at this CL please? I also hope ...
5 years, 7 months ago (2015-04-30 20:54:09 UTC) #5
Mr4D (OOO till 08-26)
Let's see what the issue updates say https://codereview.chromium.org/1109393011/diff/100001/chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_tab.cc File chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_tab.cc (right): https://codereview.chromium.org/1109393011/diff/100001/chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_tab.cc#newcode62 chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_tab.cc:62: chrome::MultiUserWindowManager::GetInstance(); You ...
5 years, 7 months ago (2015-04-30 21:51:45 UTC) #6
xdai1
Thanks for the review, please take another look! https://codereview.chromium.org/1109393011/diff/100001/chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_tab.cc File chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_tab.cc (right): https://codereview.chromium.org/1109393011/diff/100001/chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_tab.cc#newcode62 chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_tab.cc:62: chrome::MultiUserWindowManager::GetInstance(); ...
5 years, 7 months ago (2015-05-01 18:28:23 UTC) #7
Mr4D (OOO till 08-26)
Please have another look! https://codereview.chromium.org/1109393011/diff/120001/chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_browser.cc File chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_browser.cc (right): https://codereview.chromium.org/1109393011/diff/120001/chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_browser.cc#newcode53 chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_browser.cc:53: chrome::MultiUserWindowManager::MULTI_PROFILE_MODE_SEPARATED) { Since this is ...
5 years, 7 months ago (2015-05-03 19:53:45 UTC) #8
xdai1
Thanks for the review, please take another look! https://codereview.chromium.org/1109393011/diff/120001/chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_browser.cc File chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_browser.cc (right): https://codereview.chromium.org/1109393011/diff/120001/chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_browser.cc#newcode53 chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_browser.cc:53: chrome::MultiUserWindowManager::MULTI_PROFILE_MODE_SEPARATED) ...
5 years, 7 months ago (2015-05-04 16:54:56 UTC) #9
Mr4D (OOO till 08-26)
Sorry - but it still needs some changes. https://codereview.chromium.org/1109393011/diff/120001/chrome/browser/ui/views/frame/system_menu_model_builder.cc File chrome/browser/ui/views/frame/system_menu_model_builder.cc (right): https://codereview.chromium.org/1109393011/diff/120001/chrome/browser/ui/views/frame/system_menu_model_builder.cc#newcode33 chrome/browser/ui/views/frame/system_menu_model_builder.cc:33: // ...
5 years, 7 months ago (2015-05-04 17:07:41 UTC) #10
xdai1
On 2015/05/04 17:07:41, Mr4D wrote: > Sorry - but it still needs some changes. > ...
5 years, 7 months ago (2015-05-04 17:32:35 UTC) #12
Mr4D (OOO till 08-26)
lgtm! Thanks for doing this!
5 years, 7 months ago (2015-05-04 21:43:32 UTC) #13
xdai1
pkasting@, could you help to review the following file please: chrome/browser/ui/views/frame/system_menu_model_builder.cc Thanks!
5 years, 7 months ago (2015-05-05 18:34:34 UTC) #15
Peter Kasting
I also am not convinced this behavior makes sense; commented on the bug. https://codereview.chromium.org/1109393011/diff/180001/chrome/browser/ui/views/frame/system_menu_model_builder.cc File ...
5 years, 7 months ago (2015-05-06 10:49:50 UTC) #16
xdai1
On 2015/05/06 10:49:50, Peter Kasting wrote: > I also am not convinced this behavior makes ...
5 years, 7 months ago (2015-05-12 17:00:48 UTC) #17
Peter Kasting
My previous review comment (about how to deal with GURLs) stands; here's another nit as ...
5 years, 7 months ago (2015-05-12 20:18:46 UTC) #18
xdai1
On 2015/05/12 20:18:46, Peter Kasting wrote: > My previous review comment (about how to deal ...
5 years, 7 months ago (2015-05-15 03:08:01 UTC) #19
Peter Kasting
LGTM https://codereview.chromium.org/1109393011/diff/200001/chrome/browser/ui/views/frame/system_menu_model_builder.cc File chrome/browser/ui/views/frame/system_menu_model_builder.cc (right): https://codereview.chromium.org/1109393011/diff/200001/chrome/browser/ui/views/frame/system_menu_model_builder.cc#newcode32 chrome/browser/ui/views/frame/system_menu_model_builder.cc:32: // Check if the current window is chrome ...
5 years, 7 months ago (2015-05-15 08:05:50 UTC) #20
xdai1
Thanks for review. Comments addressed. https://codereview.chromium.org/1109393011/diff/200001/chrome/browser/ui/views/frame/system_menu_model_builder.cc File chrome/browser/ui/views/frame/system_menu_model_builder.cc (right): https://codereview.chromium.org/1109393011/diff/200001/chrome/browser/ui/views/frame/system_menu_model_builder.cc#newcode32 chrome/browser/ui/views/frame/system_menu_model_builder.cc:32: // Check if the ...
5 years, 7 months ago (2015-05-15 18:12:48 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1109393011/220001
5 years, 7 months ago (2015-05-15 18:15:07 UTC) #24
commit-bot: I haz the power
Committed patchset #8 (id:220001)
5 years, 7 months ago (2015-05-15 18:21:06 UTC) #25
commit-bot: I haz the power
5 years, 7 months ago (2015-05-15 18:22:31 UTC) #26
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/e7d888132fc2fd641622d86b2b4c92fa4d01b124
Cr-Commit-Position: refs/heads/master@{#330137}

Powered by Google App Engine
This is Rietveld 408576698