chore: rename node bindings atom => electron (#22176)

This commit is contained in:
Jeremy Apthorp 2020-02-14 03:25:39 -08:00 committed by GitHub
parent b5e7df1cbf
commit 602913cb4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
52 changed files with 104 additions and 102 deletions

View file

@ -513,4 +513,4 @@ void Initialize(v8::Local<v8::Object> exports,
} // namespace
NODE_LINKED_MODULE_CONTEXT_AWARE(atom_renderer_context_bridge, Initialize)
NODE_LINKED_MODULE_CONTEXT_AWARE(electron_renderer_context_bridge, Initialize)

View file

@ -149,4 +149,4 @@ void Initialize(v8::Local<v8::Object> exports,
} // namespace
NODE_LINKED_MODULE_CONTEXT_AWARE(atom_renderer_ipc, Initialize)
NODE_LINKED_MODULE_CONTEXT_AWARE(electron_renderer_ipc, Initialize)

View file

@ -595,4 +595,4 @@ void Initialize(v8::Local<v8::Object> exports,
} // namespace
NODE_LINKED_MODULE_CONTEXT_AWARE(atom_renderer_web_frame, Initialize)
NODE_LINKED_MODULE_CONTEXT_AWARE(electron_renderer_web_frame, Initialize)

View file

@ -66,7 +66,7 @@ void ElectronRenderFrameObserver::DidInstallConditionalFeatures(
auto* command_line = base::CommandLine::ForCurrentProcess();
bool use_context_isolation = renderer_client_->isolated_world();
// This logic matches the EXPLAINED logic in atom_renderer_client.cc
// This logic matches the EXPLAINED logic in electron_renderer_client.cc
// to avoid explaining it twice go check that implementation in
// DidCreateScriptContext();
bool is_main_world = IsMainWorld(world_id);