electron/atom/renderer
Jeremy Apthorp 53f6cbccbf
refactor: use mojo for electron internal IPC (#17406)
* refactor: use mojo for electron internal IPC

* add sender_id, drop MessageSync

* remove usages of AtomFrameMsg_Message

* iwyu

* first draft of renderer->browser direction

* refactor to reuse a single ipc interface

* implement TakeHeapSnapshot through mojo

* the rest of the owl^WtakeHeapSnapshot mojofication

* remove no-op overrides in AtomRendererClient

* delete renderer-side ElectronApiServiceImpl when its pipe is destroyed

* looks like we don't need to overlay the renderer manifest after all

* don't try to send 2 replies to a sync rpc

* undo changes to manifests.cc

* unify sandboxed + unsandboxed ipc events

* lint

* register ElectronBrowser mojo service on devtools WebContents

* fix takeHeapSnapshopt failure paths

* {electron_api => atom}::mojom

* add send_to_all to ElectronRenderer::Message

* keep interface alive until callback is called

* review comments

* use GetContext from RendererClientBase

* robustify a test that uses window.open

* MessageSync posts a task to put sync messages in the same queue as async ones

* add v8::MicrotasksScope and node::CallbackScope

* iwyu

* use weakptr to api::WebContents instead of Unretained

* make MessageSync an asynchronous message & use non-associated interface

* iwyu + comments

* remove unused WeakPtrFactory

* inline OnRendererMessage[Sync]

* cleanups & comments

* use helper methods instead of inline lambdas

* remove unneeded async in test

* add mojo to manifests deps

* add gn check for //electron/manifests and mojo

* don't register renderer side service until preload has been run

* update gn check targets list

* move interface registration back to RenderFrameCreated
2019-04-02 15:38:16 -07:00
..
api refactor: use mojo for electron internal IPC (#17406) 2019-04-02 15:38:16 -07:00
printing refactor: printing implementation (#15143) 2018-11-09 14:42:34 +11:00
resources/mac mac: Generate Info.plist from gyp variables 2015-04-14 16:09:34 +08:00
atom_autofill_agent.cc feat: Upgrade to Chromium 71.0.3578.98 (#15966) 2019-01-11 17:00:43 -08:00
atom_autofill_agent.h The Great Blink mv for source files, part 2. 2018-09-11 20:21:32 +02:00
atom_render_frame_observer.cc refactor: use mojo for electron internal IPC (#17406) 2019-04-02 15:38:16 -07:00
atom_render_frame_observer.h refactor: use mojo for electron internal IPC (#17406) 2019-04-02 15:38:16 -07:00
atom_render_view_observer.cc The Great Blink mv for source files, part 2. 2018-09-11 20:21:32 +02:00
atom_render_view_observer.h [chromium-style] override / virtual warnings 2018-04-19 11:12:10 -07:00
atom_renderer_client.cc refactor: use mojo for electron internal IPC (#17406) 2019-04-02 15:38:16 -07:00
atom_renderer_client.h refactor: use mojo for electron internal IPC (#17406) 2019-04-02 15:38:16 -07:00
atom_sandboxed_renderer_client.cc refactor: use mojo for electron internal IPC (#17406) 2019-04-02 15:38:16 -07:00
atom_sandboxed_renderer_client.h refactor: use mojo for electron internal IPC (#17406) 2019-04-02 15:38:16 -07:00
content_settings_observer.cc WebSQL: Don't pass name/metadata around, use content::StorageUsageInfo 2019-03-08 15:04:32 -08:00
content_settings_observer.h WebSQL: Don't pass name/metadata around, use content::StorageUsageInfo 2019-03-08 15:04:32 -08:00
electron_api_service_impl.cc refactor: use mojo for electron internal IPC (#17406) 2019-04-02 15:38:16 -07:00
electron_api_service_impl.h refactor: use mojo for electron internal IPC (#17406) 2019-04-02 15:38:16 -07:00
guest_view_container.cc fix: fix gn cpplint warnings (#14583) 2018-09-12 19:25:56 -05:00
guest_view_container.h insertText is deprecated 2017-02-06 10:34:29 -08:00
preferences_manager.cc refactor: remove instances of createDeepCopy (#13703) 2018-08-04 07:23:07 +10:00
preferences_manager.h Update to API changes of Chrome 52 2016-07-04 15:32:43 +09:00
renderer_client_base.cc refactor: use mojo for electron internal IPC (#17406) 2019-04-02 15:38:16 -07:00
renderer_client_base.h feat: Add content script world isolation (#17032) 2019-03-11 16:27:57 -07:00
web_worker_observer.cc chore: rename atomBinding to electronBinding (#17419) 2019-03-18 12:37:06 -07:00
web_worker_observer.h chore: rename atomBinding to electronBinding (#17419) 2019-03-18 12:37:06 -07:00