chore: rename atom -> electron (#21986)

This commit is contained in:
Jeremy Apthorp 2020-02-04 12:19:40 -08:00 committed by GitHub
parent f14fc4b041
commit d9321f4df7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
287 changed files with 1771 additions and 1708 deletions

View file

@ -10,7 +10,7 @@
#include "content/public/renderer/render_frame.h"
#include "content/public/renderer/render_frame_observer.h"
#include "shell/renderer/atom_render_frame_observer.h"
#include "shell/renderer/electron_render_frame_observer.h"
#include "third_party/blink/public/web/web_local_frame.h"
namespace electron {

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "shell/renderer/api/atom_api_context_bridge.h"
#include "shell/renderer/api/electron_api_context_bridge.h"
#include <map>
#include <set>
@ -21,7 +21,7 @@
#include "shell/common/gin_helper/promise.h"
#include "shell/common/node_includes.h"
#include "shell/renderer/api/context_bridge/render_frame_context_bridge_store.h"
#include "shell/renderer/atom_render_frame_observer.h"
#include "shell/renderer/electron_render_frame_observer.h"
#include "third_party/blink/public/web/web_local_frame.h"
namespace electron {

View file

@ -2,8 +2,8 @@
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#ifndef SHELL_RENDERER_API_ATOM_API_CONTEXT_BRIDGE_H_
#define SHELL_RENDERER_API_ATOM_API_CONTEXT_BRIDGE_H_
#ifndef SHELL_RENDERER_API_ELECTRON_API_CONTEXT_BRIDGE_H_
#define SHELL_RENDERER_API_ELECTRON_API_CONTEXT_BRIDGE_H_
#include "v8/include/v8.h"
@ -35,4 +35,4 @@ v8::MaybeLocal<v8::Object> CreateProxyForAPI(
} // namespace electron
#endif // SHELL_RENDERER_API_ATOM_API_CONTEXT_BRIDGE_H_
#endif // SHELL_RENDERER_API_ELECTRON_API_CONTEXT_BRIDGE_H_

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "shell/renderer/api/atom_api_spell_check_client.h"
#include "shell/renderer/api/electron_api_spell_check_client.h"
#include <map>
#include <memory>

View file

@ -2,8 +2,8 @@
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#ifndef SHELL_RENDERER_API_ATOM_API_SPELL_CHECK_CLIENT_H_
#define SHELL_RENDERER_API_ATOM_API_SPELL_CHECK_CLIENT_H_
#ifndef SHELL_RENDERER_API_ELECTRON_API_SPELL_CHECK_CLIENT_H_
#define SHELL_RENDERER_API_ELECTRON_API_SPELL_CHECK_CLIENT_H_
#include <memory>
#include <set>
@ -111,4 +111,4 @@ class SpellCheckClient : public blink::WebSpellCheckPanelHostClient,
} // namespace electron
#endif // SHELL_RENDERER_API_ATOM_API_SPELL_CHECK_CLIENT_H_
#endif // SHELL_RENDERER_API_ELECTRON_API_SPELL_CHECK_CLIENT_H_

View file

@ -18,7 +18,7 @@
#include "shell/common/gin_helper/dictionary.h"
#include "shell/common/gin_helper/promise.h"
#include "shell/common/node_includes.h"
#include "shell/renderer/api/atom_api_spell_check_client.h"
#include "shell/renderer/api/electron_api_spell_check_client.h"
#include "third_party/blink/public/common/page/page_zoom.h"
#include "third_party/blink/public/common/web_cache/web_cache_resource_type_stats.h"
#include "third_party/blink/public/platform/web_cache.h"