DescriptionImplement base.IPC
In Chrome Apps, some platform APIs can only be called from the background
page (e.g. reloading a chrome.app.AppWindow). Likewise, some chrome API's
must be initiated by user interaction, which can only be called from the
foreground.
This CL base.IPC that provides helper functions to invoke methods on
different pages using chrome.runtime.sendMessage.
BUG=452317
Committed: https://crrev.com/6f290c21326a7586347efcf796a9eebf794fc901
Cr-Commit-Position: refs/heads/master@{#313614}
Patch Set 1 #
Total comments: 30
Patch Set 2 : Reviewer's feedback #
Total comments: 2
Patch Set 3 : Add unittest #
Total comments: 18
Patch Set 4 : Address reviewer's feedback #
Total comments: 1
Patch Set 5 : Ready for Checkin #
Messages
Total messages: 14 (5 generated)
|