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

Issue 2341643002: Enhance chrome.app.window API for shelf integration with pinning support (cont.) (Closed)

Created:
4 years, 3 months ago by Andra Paraschiv
Modified:
4 years, 1 month ago
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enhance chrome.app.window API for shelf integration with pinning support (cont.) Enhance the chrome.app.window API for shelf integration with the possibility of pinning the showInShelf=true windows. Based on https://codereview.chromium.org/2290603002 Based on https://codereview.chromium.org/2352353002 Co-Authored-By: Valentin Ilie <valentin.ilie@intel.com>; BUG=610299 TEST=interactive_ui_tests Implement a simple extension that creates windows with showInShelf property set to true. Pin a newly created window that has its own icon in the shelf, then close it and open it again by clicking the pinned icon. TEST= https://codereview.chromium.org/2297633002 Committed: https://crrev.com/4b52d653d510dc49d944b824d0aa7d6ef41b8924 Cr-Commit-Position: refs/heads/master@{#427323}

Patch Set 1 #

Patch Set 2 : Add pinning support in prefs codebase #

Patch Set 3 : Rebase #

Patch Set 4 : Include AppLauncherId wrapper #

Total comments: 6

Patch Set 5 : Review v2 #

Patch Set 6 : Unit Test Fix #

Messages

Total messages: 29 (10 generated)
stevenjb
On 2016/09/19 09:28:36, Andra Paraschiv wrote: > mailto:andra.paraschiv@intel.com changed reviewers: > + mailto:jamescook@chromium.org, mailto:reillyg@chromium.org, mailto:skuhne@chromium.org, ...
4 years, 3 months ago (2016-09-20 16:43:42 UTC) #3
James Cook
On 2016/09/20 16:43:42, stevenjb wrote: > On 2016/09/19 09:28:36, Andra Paraschiv wrote: > > mailto:andra.paraschiv@intel.com ...
4 years, 3 months ago (2016-09-20 17:20:54 UTC) #4
stevenjb
Ah, good point. Yeah, I think an AppLauncherId wrapper class would make sense. We could ...
4 years, 3 months ago (2016-09-20 18:14:30 UTC) #5
Andra Paraschiv
On 2016/09/20 18:14:30, stevenjb wrote: > Ah, good point. > > Yeah, I think an ...
4 years, 3 months ago (2016-09-21 10:30:22 UTC) #7
Andra Paraschiv
> Thank you both for feedback, we can move forward with this wrapper approach. > ...
4 years, 2 months ago (2016-10-20 09:01:43 UTC) #8
James Cook
I only looked at //ash https://codereview.chromium.org/2341643002/diff/60001/ash/common/shelf/shelf_delegate.h File ash/common/shelf/shelf_delegate.h (right): https://codereview.chromium.org/2341643002/diff/60001/ash/common/shelf/shelf_delegate.h#newcode44 ash/common/shelf/shelf_delegate.h:44: virtual const std::string& GetLaunchIDForShelfID(ShelfID ...
4 years, 2 months ago (2016-10-21 15:11:04 UTC) #9
stevenjb
https://codereview.chromium.org/2341643002/diff/60001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h File chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h (right): https://codereview.chromium.org/2341643002/diff/60001/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h#newcode150 chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.h:150: const std::string& GetLaunchIDForShelfID(ash::ShelfID id) override; I agree with James' ...
4 years, 2 months ago (2016-10-21 21:40:40 UTC) #10
Andra Paraschiv
Thank you both for review. https://codereview.chromium.org/2341643002/diff/60001/ash/common/shelf/shelf_delegate.h File ash/common/shelf/shelf_delegate.h (right): https://codereview.chromium.org/2341643002/diff/60001/ash/common/shelf/shelf_delegate.h#newcode44 ash/common/shelf/shelf_delegate.h:44: virtual const std::string& GetLaunchIDForShelfID(ShelfID ...
4 years, 1 month ago (2016-10-24 08:26:16 UTC) #12
Mr4D (OOO till 08-26)
I would like to see a test for this. Furthermore: I thought that pinning was ...
4 years, 1 month ago (2016-10-24 14:25:08 UTC) #13
stevenjb
On 2016/10/24 14:25:08, Mr4D wrote: > I would like to see a test for this. ...
4 years, 1 month ago (2016-10-24 16:45:07 UTC) #14
stevenjb
lgtm
4 years, 1 month ago (2016-10-24 16:46:58 UTC) #15
Mr4D (OOO till 08-26)
In deed. I see - thanks for the clarification! lgtm. Please provide unit test either ...
4 years, 1 month ago (2016-10-24 16:52:46 UTC) #16
James Cook
-me as reviewer since this no longer touches //ash
4 years, 1 month ago (2016-10-24 17:52:07 UTC) #17
Andra Paraschiv
Thank you all for feedback, I added new unit tests for pinning in this CL ...
4 years, 1 month ago (2016-10-25 07:57:12 UTC) #19
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/2341643002/80001
4 years, 1 month ago (2016-10-25 10:43:05 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_compile_dbg_ng/builds/285867) linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years, 1 month ago (2016-10-25 10:53:51 UTC) #23
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/2341643002/100001
4 years, 1 month ago (2016-10-25 11:11:16 UTC) #26
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 1 month ago (2016-10-25 11:36:16 UTC) #27
commit-bot: I haz the power
4 years, 1 month ago (2016-10-25 11:38:02 UTC) #29
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/4b52d653d510dc49d944b824d0aa7d6ef41b8924
Cr-Commit-Position: refs/heads/master@{#427323}

Powered by Google App Engine
This is Rietveld 408576698