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

Issue 2889523003: Add kApplicationIdKey for ShellSurface::GetApplicationId and SetApplicationId (Closed)

Created:
3 years, 7 months ago by yawano
Modified:
3 years, 6 months ago
CC:
chromium-reviews, David Tseng, kalyank, msw, sadrul, sky, cylee1
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add kApplicationIdKey for ShellSurface::GetApplicationId and SetApplicationId BUG=722765 TEST=none Review-Url: https://codereview.chromium.org/2889523003 Cr-Commit-Position: refs/heads/master@{#475273} Committed: https://chromium.googlesource.com/chromium/src/+/a57b15774cb1599333fa6e3c9cb57095d847b02a

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add kExoAppIdKey. #

Patch Set 3 : Use DEFINE_OWNED_UI_CLASS_PROPERTY_KEY. #

Total comments: 6

Patch Set 4 : Address comments. #

Total comments: 4

Patch Set 5 : Fix nits. #

Total comments: 2

Patch Set 6 : Rebase. #

Patch Set 7 : Fix shell_surface_unittest. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -20 lines) Patch
M chrome/browser/chromeos/arc/accessibility/arc_accessibility_helper_bridge.cc View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/launcher/arc_app_window_launcher_controller.cc View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M components/exo/shell_surface.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M components/exo/shell_surface.cc View 1 2 3 4 5 4 chunks +15 lines, -11 lines 0 comments Download
M components/exo/shell_surface_unittest.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 48 (23 generated)
yawano
https://codereview.chromium.org/2860503002 has changed ShellSurface::Get/SetApplicationId to use app_id of ash::ShelfID. But I believe app_id of ash::ShelfID ...
3 years, 7 months ago (2017-05-16 10:13:43 UTC) #2
reveman
Why is ash::ShelfID not working as expected? Afaict we're setting and getting the app_id just ...
3 years, 7 months ago (2017-05-16 10:34:27 UTC) #5
msw
On 2017/05/16 10:34:27, reveman wrote: > Why is ash::ShelfID not working as expected? Afaict we're ...
3 years, 7 months ago (2017-05-16 17:00:07 UTC) #9
msw
https://codereview.chromium.org/2889523003/diff/1/components/exo/shell_surface.cc File components/exo/shell_surface.cc (right): https://codereview.chromium.org/2889523003/diff/1/components/exo/shell_surface.cc#newcode558 components/exo/shell_surface.cc:558: window->SetProperty(aura::client::kAppIdKey, new std::string(id)); On 2017/05/16 17:00:06, msw wrote: > ...
3 years, 7 months ago (2017-05-16 17:03:27 UTC) #10
oshima
On 2017/05/16 17:03:27, msw wrote: > https://codereview.chromium.org/2889523003/diff/1/components/exo/shell_surface.cc > File components/exo/shell_surface.cc (right): > > https://codereview.chromium.org/2889523003/diff/1/components/exo/shell_surface.cc#newcode558 > ...
3 years, 7 months ago (2017-05-17 00:37:08 UTC) #11
yawano
PTAL again. Thank you! https://codereview.chromium.org/2889523003/diff/1/components/exo/shell_surface.cc File components/exo/shell_surface.cc (right): https://codereview.chromium.org/2889523003/diff/1/components/exo/shell_surface.cc#newcode558 components/exo/shell_surface.cc:558: window->SetProperty(aura::client::kAppIdKey, new std::string(id)); On 2017/05/16 ...
3 years, 7 months ago (2017-05-17 08:36:49 UTC) #12
yawano
Updated subject and description.
3 years, 7 months ago (2017-05-17 08:39:49 UTC) #14
reveman
https://codereview.chromium.org/2889523003/diff/40001/components/exo/shell_surface.cc File components/exo/shell_surface.cc (right): https://codereview.chromium.org/2889523003/diff/40001/components/exo/shell_surface.cc#newcode316 components/exo/shell_surface.cc:316: namespace { nit: for consistency, please remove this namespace ...
3 years, 7 months ago (2017-05-17 15:31:06 UTC) #15
msw
Thanks! FWIW, lgtm % reveman's comments.
3 years, 7 months ago (2017-05-17 16:16:56 UTC) #16
yawano
PTAL. reveman@: Files under components/exo dtseng@: c/b/chromeos/arc/accessibility/arc_accessibility_helper_bridge.cc cylee@: c/b/memory/tab_manager_delegate_chromeos.cc stevenjb@: c/b/ui/ash/launcher/arc_app_window_launcher_controller.cc Moved sky@ from reviewer ...
3 years, 7 months ago (2017-05-18 02:06:29 UTC) #18
reveman
lgtm with nits https://codereview.chromium.org/2889523003/diff/60001/components/exo/shell_surface.cc File components/exo/shell_surface.cc (right): https://codereview.chromium.org/2889523003/diff/60001/components/exo/shell_surface.cc#newcode57 components/exo/shell_surface.cc:57: DEFINE_OWNED_UI_CLASS_PROPERTY_KEY(std::string, kExoAppIdKey, nullptr); nit: s/kExoAppIdKey/kApplicationIdKey/ as ...
3 years, 7 months ago (2017-05-18 03:53:12 UTC) #19
yawano
Thank you! https://codereview.chromium.org/2889523003/diff/60001/components/exo/shell_surface.cc File components/exo/shell_surface.cc (right): https://codereview.chromium.org/2889523003/diff/60001/components/exo/shell_surface.cc#newcode57 components/exo/shell_surface.cc:57: DEFINE_OWNED_UI_CLASS_PROPERTY_KEY(std::string, kExoAppIdKey, nullptr); On 2017/05/18 03:53:12, reveman ...
3 years, 7 months ago (2017-05-18 04:07:36 UTC) #20
Yusuke Sato
https://codereview.chromium.org/2889523003/diff/80001/chrome/browser/memory/tab_manager_delegate_chromeos.cc File chrome/browser/memory/tab_manager_delegate_chromeos.cc (left): https://codereview.chromium.org/2889523003/diff/80001/chrome/browser/memory/tab_manager_delegate_chromeos.cc#oldcode78 chrome/browser/memory/tab_manager_delegate_chromeos.cc:78: std::string application_id = exo::ShellSurface::GetApplicationId(window); FYI the code has been ...
3 years, 7 months ago (2017-05-19 16:55:28 UTC) #22
stevenjb
chrome/browser/ui/ash/launcher/ lgtm
3 years, 7 months ago (2017-05-19 20:21:38 UTC) #24
yawano
Moved cylee@ from reviewer to CC as we no longer touch tab_manager_delegate_chromeos.cc. dtseng@: ping. https://codereview.chromium.org/2889523003/diff/80001/chrome/browser/memory/tab_manager_delegate_chromeos.cc ...
3 years, 7 months ago (2017-05-22 07:33:19 UTC) #26
yawano
Updated subject and description as we have changed key name.
3 years, 7 months ago (2017-05-22 07:34:46 UTC) #28
David Tseng
lgtm arc accessibility
3 years, 7 months ago (2017-05-25 00:09:07 UTC) #29
yawano
On 2017/05/25 00:09:07, David Tseng wrote: > lgtm arc accessibility Thank you!
3 years, 7 months ago (2017-05-25 00:55:36 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2889523003/100001
3 years, 7 months ago (2017-05-25 00:56:28 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/392619)
3 years, 7 months ago (2017-05-25 01:20:25 UTC) #35
yawano
reveman@: Fixed shell_surface_unittest. PTAL again. Thank you!
3 years, 7 months ago (2017-05-26 03:20:42 UTC) #40
reveman
still lgtm On May 25, 2017 11:20 PM, <yawano@chromium.org> wrote: > reveman@: Fixed shell_surface_unittest. PTAL ...
3 years, 7 months ago (2017-05-26 13:48:29 UTC) #41
yawano
On 2017/05/26 13:48:29, reveman wrote: > still lgtm > > On May 25, 2017 11:20 ...
3 years, 6 months ago (2017-05-29 01:21:10 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2889523003/120001
3 years, 6 months ago (2017-05-29 01:21:28 UTC) #45
commit-bot: I haz the power
3 years, 6 months ago (2017-05-29 01:49:21 UTC) #48
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/a57b15774cb1599333fa6e3c9cb5...

Powered by Google App Engine
This is Rietveld 408576698