electron/atom/app
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
..
resources/mac Implement login helper to manage login item in Mac App Store build 2017-11-17 10:53:09 +09:00
atom_content_client.cc Move GetUserAgent from ContentClient to ContentBrowserClient 2019-02-14 23:59:22 +05:30
atom_content_client.h Move GetUserAgent from ContentClient to ContentBrowserClient 2019-02-14 23:59:22 +05:30
atom_library_main.h build: define compile time features with buildflag header (#14840) 2018-10-01 16:00:53 -04:00
atom_library_main.mm refactor: eliminate brightray (#15240) 2018-10-24 12:49:10 +02:00
atom_login_helper.mm clang-format objc files (#12673) 2018-04-20 11:47:04 -07:00
atom_main.cc fix: disable Chromium v2 sandbox in MAS builds (#16920) 2019-02-14 09:48:17 -08:00
atom_main.h Remove All Rights Reserved after GitHub copyright 2014-10-31 11:17:05 -07:00
atom_main_delegate.cc feat: enable setuid sandbox on linux (#17269) 2019-03-08 13:10:26 -08:00
atom_main_delegate.h Revert "feat: upgrade to Chromium 72.0.3626.52 (#16334)" 2019-01-22 12:01:04 -08:00
atom_main_delegate_mac.h Creates TaskScheduler and MessageLoop on main thread early 2018-10-09 14:38:00 -07:00
atom_main_delegate_mac.mm refactor: eliminate brightray (#15240) 2018-10-24 12:49:10 +02:00
BRANDING.json chore: stop using electron.gyp for branding and version (#14559) 2018-09-27 14:53:08 -04:00
command_line_args.cc Remove command line argument black-list (#13039) 2018-05-22 11:51:03 -05:00
command_line_args.h clang-format atom files 2018-04-18 20:48:45 -04:00
manifests.cc refactor: use mojo for electron internal IPC (#17406) 2019-04-02 15:38:16 -07:00
manifests.h chore: use c++ manifests instead of json 2019-02-14 23:59:26 +05:30
node_main.cc chore: rename atomBinding to electronBinding (#17419) 2019-03-18 12:37:06 -07:00
node_main.h build: define compile time features with buildflag header (#14840) 2018-10-01 16:00:53 -04:00
uv_task_runner.cc also format missing .cc files 2018-04-18 20:48:45 -04:00
uv_task_runner.h Fix up #includes to work with both GYP and GN 2018-05-10 13:38:40 -07:00