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

Issue 469993003: Add AppWindow.setVisibleOnAllWorkspaces. (Closed)

Created:
6 years, 4 months ago by jackhou1
Modified:
6 years, 3 months ago
Reviewers:
benwells, Ilya Sherman
CC:
chromium-reviews, tfarina, extensions-reviews_chromium.org, chromium-apps-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

Add AppWindow.setVisibleOnAllWorkspaces. For platforms that support multiple workspaces (currently Mac and Linux), this allows app windows be visible on all workspaces simultaneously. API proposal: https://docs.google.com/document/d/1RC3CYwsrVxS_5hXg6nE3zA9y59G98z9Ezmmmq_Gzx9o/edit?usp=sharing BUG=384644 Committed: https://chromium.googlesource.com/chromium/src/+/97adb18915b7909429b51d829e7c4aeb66c57d64 Committed: https://crrev.com/dcc8148538ebba44716bee6711db4797156b9a2d Cr-Commit-Position: refs/heads/master@{#293832}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add canSetVisibleOnAllWorkspaces. #

Patch Set 3 : Add CreateOption. #

Patch Set 4 : Sync and rebase #

Total comments: 12

Patch Set 5 : Sync and rebase #

Patch Set 6 : WIP addressing comments. Upload to save state. #

Patch Set 7 : Address comments #

Patch Set 8 : Sync and rebase #

Total comments: 2

Patch Set 9 : Sync and rebase #

Patch Set 10 : Update histograms.xml #

Patch Set 11 : Sync and rebase #

Patch Set 12 : Sync and rebase. Fix copyright text. #

Patch Set 13 : Update shell_native_app_window #

Patch Set 14 : Initialize AppWindow::CreateParams::visible_on_all_workspaces. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -1 line) Patch
M apps/ui/views/native_app_window_views.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M apps/ui/views/native_app_window_views.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/apps/app_window_browsertest.cc View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.h View 1 2 3 4 5 6 7 1 chunk +12 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/app_current_window_internal/app_current_window_internal_api.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/apps/native_app_window_cocoa.mm View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +15 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/apps/chrome_native_app_window_views.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/_api_features.json View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/app_current_window_internal.idl View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/data/extensions/platform_apps/window_api/test.js View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/platform_apps/windows_api_visible_on_all_workspaces/in_stable/background.js View 1 2 3 4 5 6 1 chunk +28 lines, -0 lines 0 comments Download
A + chrome/test/data/extensions/platform_apps/windows_api_visible_on_all_workspaces/in_stable/index.html View 1 2 3 4 5 6 8 9 10 11 12 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/test/data/extensions/platform_apps/windows_api_visible_on_all_workspaces/in_stable/manifest.json View 1 2 3 4 5 6 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/api/app_window/app_window_api.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +11 lines, -0 lines 0 comments Download
M extensions/browser/api/app_window/app_window_apitest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +8 lines, -0 lines 0 comments Download
M extensions/browser/app_window/app_window.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M extensions/browser/app_window/app_window.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -1 line 0 comments Download
M extensions/browser/app_window/native_app_window.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M extensions/browser/extension_function_histogram_value.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M extensions/common/api/app_window.idl View 1 2 3 4 5 6 7 8 9 10 3 chunks +13 lines, -0 lines 0 comments Download
M extensions/renderer/resources/app_window_custom_bindings.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download
M extensions/shell/browser/shell_native_app_window.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M extensions/shell/browser/shell_native_app_window.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 39 (10 generated)
jackhou1
6 years, 4 months ago (2014-08-14 08:13:01 UTC) #1
benwells
We need an API proposal for this.
6 years, 4 months ago (2014-08-14 22:48:30 UTC) #2
benwells
https://codereview.chromium.org/469993003/diff/1/chrome/common/extensions/api/app_window.idl File chrome/common/extensions/api/app_window.idl (right): https://codereview.chromium.org/469993003/diff/1/chrome/common/extensions/api/app_window.idl#newcode374 chrome/common/extensions/api/app_window.idl:374: [nodoc] static void setVisibleOnAllWorkspaces(boolean alwaysVisible); Will there be matching ...
6 years, 4 months ago (2014-08-15 07:53:06 UTC) #3
jackhou1
On 2014/08/15 07:53:06, benwells wrote: > https://codereview.chromium.org/469993003/diff/1/chrome/common/extensions/api/app_window.idl > File chrome/common/extensions/api/app_window.idl (right): > > https://codereview.chromium.org/469993003/diff/1/chrome/common/extensions/api/app_window.idl#newcode374 > ...
6 years, 4 months ago (2014-08-18 06:13:06 UTC) #4
benwells
On 2014/08/18 06:13:06, jackhou1 wrote: > On 2014/08/15 07:53:06, benwells wrote: > > > https://codereview.chromium.org/469993003/diff/1/chrome/common/extensions/api/app_window.idl ...
6 years, 4 months ago (2014-08-19 00:50:22 UTC) #5
jackhou1
On 2014/08/19 00:50:22, benwells wrote: > On 2014/08/18 06:13:06, jackhou1 wrote: > > On 2014/08/15 ...
6 years, 4 months ago (2014-08-19 08:19:18 UTC) #6
benwells
https://codereview.chromium.org/469993003/diff/60001/chrome/browser/apps/app_window_browsertest.cc File chrome/browser/apps/app_window_browsertest.cc (right): https://codereview.chromium.org/469993003/diff/60001/chrome/browser/apps/app_window_browsertest.cc#newcode260 chrome/browser/apps/app_window_browsertest.cc:260: We should test that it is limited to dev ...
6 years, 4 months ago (2014-08-20 05:02:08 UTC) #7
jackhou1
https://codereview.chromium.org/469993003/diff/60001/chrome/browser/apps/app_window_browsertest.cc File chrome/browser/apps/app_window_browsertest.cc (right): https://codereview.chromium.org/469993003/diff/60001/chrome/browser/apps/app_window_browsertest.cc#newcode260 chrome/browser/apps/app_window_browsertest.cc:260: On 2014/08/20 05:02:08, benwells wrote: > We should test ...
6 years, 3 months ago (2014-08-27 05:10:45 UTC) #8
benwells
lgtm
6 years, 3 months ago (2014-08-31 23:28:59 UTC) #9
jackhou1
isherman, could you please review for OWNERS: extensions/browser/extension_function_histogram_value.h
6 years, 3 months ago (2014-09-01 06:37:48 UTC) #11
Ilya Sherman
https://codereview.chromium.org/469993003/diff/140001/extensions/browser/extension_function_histogram_value.h File extensions/browser/extension_function_histogram_value.h (right): https://codereview.chromium.org/469993003/diff/140001/extensions/browser/extension_function_histogram_value.h#newcode951 extensions/browser/extension_function_histogram_value.h:951: APP_CURRENTWINDOWINTERNAL_SETVISIBLEONALLWORKSPACES, Please run the script to update histograms.xml
6 years, 3 months ago (2014-09-02 20:36:14 UTC) #12
jackhou1
https://codereview.chromium.org/469993003/diff/140001/extensions/browser/extension_function_histogram_value.h File extensions/browser/extension_function_histogram_value.h (right): https://codereview.chromium.org/469993003/diff/140001/extensions/browser/extension_function_histogram_value.h#newcode951 extensions/browser/extension_function_histogram_value.h:951: APP_CURRENTWINDOWINTERNAL_SETVISIBLEONALLWORKSPACES, On 2014/09/02 20:36:14, Ilya Sherman wrote: > Please ...
6 years, 3 months ago (2014-09-03 22:45:54 UTC) #13
Ilya Sherman
histograms lgtm, thanks
6 years, 3 months ago (2014-09-03 22:47:07 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/469993003/200001
6 years, 3 months ago (2014-09-05 09:27:13 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/8952)
6 years, 3 months ago (2014-09-05 09:40:15 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/469993003/220001
6 years, 3 months ago (2014-09-08 00:33:07 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_swarming/builds/13797)
6 years, 3 months ago (2014-09-08 00:54:08 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/469993003/240001
6 years, 3 months ago (2014-09-08 01:57:37 UTC) #24
commit-bot: I haz the power
Exceeded time limit waiting for builds to trigger.
6 years, 3 months ago (2014-09-08 03:57:52 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/469993003/240001
6 years, 3 months ago (2014-09-08 04:13:40 UTC) #28
commit-bot: I haz the power
Committed patchset #13 (id:240001) as 97adb18915b7909429b51d829e7c4aeb66c57d64
6 years, 3 months ago (2014-09-08 06:48:57 UTC) #30
Nico
Speculative, to see if it helps with ==12563== WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x7f834414fd2c in views::DesktopWindowTreeHostX11::InitX11Window(views::Widget::InitParams ...
6 years, 3 months ago (2014-09-08 20:57:52 UTC) #31
Nico
Err, that was for the "Revert" message box. I'll try again.
6 years, 3 months ago (2014-09-08 21:03:20 UTC) #32
Nico
The revert button gives me """ Unable to inverse 'A +' patches with 100% similarity ...
6 years, 3 months ago (2014-09-08 21:33:48 UTC) #33
jackhou1
On 2014/09/08 20:57:52, Nico (hiding) wrote: > Speculative, to see if it helps with > ...
6 years, 3 months ago (2014-09-09 00:29:05 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jackhou@chromium.org/469993003/260001
6 years, 3 months ago (2014-09-09 00:34:06 UTC) #36
commit-bot: I haz the power
Committed patchset #14 (id:260001) as 3f6f925d9580c7ab55a3d0316ea12d186ef2209d
6 years, 3 months ago (2014-09-09 01:41:50 UTC) #37
commit-bot: I haz the power
Patchset 14 (id:??) landed as https://crrev.com/c76ef7326840ea3eeb3fa96fb88f5269b5ec55a7 Cr-Commit-Position: refs/heads/master@{#293676}
6 years, 3 months ago (2014-09-10 03:44:43 UTC) #38
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:49:41 UTC) #39
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/dcc8148538ebba44716bee6711db4797156b9a2d
Cr-Commit-Position: refs/heads/master@{#293832}

Powered by Google App Engine
This is Rietveld 408576698