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

Issue 800473006: Don't include hidden windows in IsAppWindowRegisteredInAnyProfile. (Closed)

Created:
5 years, 11 months ago by jackhou1
Modified:
5 years, 11 months ago
Reviewers:
Robert Sesek, tapted
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't include hidden windows in IsAppWindowRegisteredInAnyProfile. All the places that use this function are checking whether there are any app windows from the point of view of the user. BUG=442280 Committed: https://crrev.com/261f7f3a466211792b0613c0d736e069fa1a7cc2 Cr-Commit-Position: refs/heads/master@{#310196}

Patch Set 1 #

Patch Set 2 : Handle window_type_mask == 0 case. #

Total comments: 6

Patch Set 3 : Address comments. #

Total comments: 2

Patch Set 4 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -24 lines) Patch
M chrome/browser/app_controller_mac.mm View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/apps/app_shim/app_shim_handler_mac.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/apps/app_window_registry_util.h View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/apps/app_window_registry_util.cc View 1 2 3 2 chunks +5 lines, -7 lines 0 comments Download
M chrome/browser/ui/apps/apps_metro_handler_win.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/apps/quit_with_apps_controller_mac.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/apps/quit_with_apps_controller_mac_interactive_uitest.cc View 1 2 4 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
jackhou1
tapted, WDYT? Most uses of this function are on Mac, and all the callers would ...
5 years, 11 months ago (2015-01-06 00:43:58 UTC) #2
tapted
cool - I like it. But we should change the name of the function (and ...
5 years, 11 months ago (2015-01-06 00:51:29 UTC) #3
jackhou1
https://codereview.chromium.org/800473006/diff/20001/chrome/browser/apps/app_window_registry_util.cc File chrome/browser/apps/app_window_registry_util.cc (right): https://codereview.chromium.org/800473006/diff/20001/chrome/browser/apps/app_window_registry_util.cc#newcode44 chrome/browser/apps/app_window_registry_util.cc:44: bool AppWindowRegistryUtil::IsAppWindowRegisteredInAnyProfile( On 2015/01/06 00:51:28, tapted wrote: > IsAppWindowRegisteredInAnyProfile ...
5 years, 11 months ago (2015-01-06 02:13:14 UTC) #4
tapted
lgtm https://codereview.chromium.org/800473006/diff/40001/chrome/browser/apps/app_window_registry_util.cc File chrome/browser/apps/app_window_registry_util.cc (right): https://codereview.chromium.org/800473006/diff/40001/chrome/browser/apps/app_window_registry_util.cc#newcode63 chrome/browser/apps/app_window_registry_util.cc:63: (window->window_type() & window_type_mask))) { optional-nit: up to you ...
5 years, 11 months ago (2015-01-06 02:50:48 UTC) #5
jackhou1
https://codereview.chromium.org/800473006/diff/40001/chrome/browser/apps/app_window_registry_util.cc File chrome/browser/apps/app_window_registry_util.cc (right): https://codereview.chromium.org/800473006/diff/40001/chrome/browser/apps/app_window_registry_util.cc#newcode63 chrome/browser/apps/app_window_registry_util.cc:63: (window->window_type() & window_type_mask))) { On 2015/01/06 02:50:47, tapted wrote: ...
5 years, 11 months ago (2015-01-06 06:05:58 UTC) #6
jackhou1
rsesek, could you review for OWNERS of: chrome/browser/app_controller_mac.mm
5 years, 11 months ago (2015-01-06 06:06:41 UTC) #8
Robert Sesek
lgtm
5 years, 11 months ago (2015-01-06 16:20:38 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/800473006/60001
5 years, 11 months ago (2015-01-07 00:47:14 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 11 months ago (2015-01-07 00:59:31 UTC) #12
commit-bot: I haz the power
5 years, 11 months ago (2015-01-07 01:00:46 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/261f7f3a466211792b0613c0d736e069fa1a7cc2
Cr-Commit-Position: refs/heads/master@{#310196}

Powered by Google App Engine
This is Rietveld 408576698