DescriptionAdd basic Chrome interaction with the mash shelf.
Based on the "Mash Shelf Interface Proposal" doc:
https://docs.google.com/document/d/1FSSAxodmRbaeiHI2H-2WNfbVXPLHLcTbcThvln0bKNw
Add shelf.mojom with necessary interfaces and structs.
Make ShelfDelegateMus implement mash::shelf::mojom::Shelf.
Make SysUIApplication (mojo:ash_sysui) vend Shelf interfaces.
Init mash from ChromeBrowserMainExtraPartsAsh::PostProfileInit.
Add a test shortcut item to a fake application from Chrome.
Store local chrome prefs when mash shelf properties change.
Include required pref-related consts/files in USE_AURA.
Extract IsRunningInMash helper function.
Extract launcher preference conversion helper functions.
Depends on https://codereview.chromium.org/1872903003
TODO: Support multiple displays with a shelf per display.
TODO: Support complex prefs in ChromeMashShelfController.
TODO: Link up user window and pinned shelf items.
TODO: Add more NOTIMPLEMENTED() functionality...
BUG=557406
TEST=Mash shelf has a new test item, stores prefs locally.
R=sky@chromium.org,jamescook@chromium.org,tomhudson@google.com
Committed: https://crrev.com/f79017e9addd1ab792ac9eec4136c0e7f1ef1848
Cr-Commit-Position: refs/heads/master@{#386476}
Patch Set 1 #Patch Set 2 : Hook up paths for chrome init of mash shelf. #Patch Set 3 : Get a test item pinned. #Patch Set 4 : Working on loading and saving preferences. #Patch Set 5 : Sync and rebase. #Patch Set 6 : Cleanup; add shelf pref conversion helper functions. #Patch Set 7 : Define ash pref names if USE_AURA, not just if USE_ASH. #Patch Set 8 : Move chrome_launcher_prefs from ash to aura. #
Total comments: 18
Patch Set 9 : Use associated interfaces for observers and item delegates. #
Total comments: 9
Patch Set 10 : Address comments; sync and rebase; sorry! #Patch Set 11 : Update after rebase. #Patch Set 12 : Leave +skia/public in chrome/browser/DEPS #Patch Set 13 : Sync and rebase. #Messages
Total messages: 66 (38 generated)
|