chore: rename atom -> electron (#21986)
This commit is contained in:
parent
f14fc4b041
commit
d9321f4df7
287 changed files with 1771 additions and 1708 deletions
|
@ -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/common/api/atom_api_clipboard.h"
|
||||
#include "shell/common/api/electron_api_clipboard.h"
|
||||
|
||||
#include "base/strings/utf_string_conversions.h"
|
||||
#include "shell/common/gin_converters/image_converter.h"
|
|
@ -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_COMMON_API_ATOM_API_CLIPBOARD_H_
|
||||
#define SHELL_COMMON_API_ATOM_API_CLIPBOARD_H_
|
||||
#ifndef SHELL_COMMON_API_ELECTRON_API_CLIPBOARD_H_
|
||||
#define SHELL_COMMON_API_ELECTRON_API_CLIPBOARD_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
@ -70,4 +70,4 @@ class Clipboard {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_API_ATOM_API_CLIPBOARD_H_
|
||||
#endif // SHELL_COMMON_API_ELECTRON_API_CLIPBOARD_H_
|
|
@ -3,7 +3,7 @@
|
|||
// found in the LICENSE file.
|
||||
|
||||
#include "base/strings/sys_string_conversions.h"
|
||||
#include "shell/common/api/atom_api_clipboard.h"
|
||||
#include "shell/common/api/electron_api_clipboard.h"
|
||||
#include "ui/base/cocoa/find_pasteboard.h"
|
||||
|
||||
namespace electron {
|
|
@ -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_COMMON_API_ATOM_API_KEY_WEAK_MAP_H_
|
||||
#define SHELL_COMMON_API_ATOM_API_KEY_WEAK_MAP_H_
|
||||
#ifndef SHELL_COMMON_API_ELECTRON_API_KEY_WEAK_MAP_H_
|
||||
#define SHELL_COMMON_API_ELECTRON_API_KEY_WEAK_MAP_H_
|
||||
|
||||
#include "gin/handle.h"
|
||||
#include "shell/common/gin_converters/std_converter.h"
|
||||
|
@ -61,4 +61,4 @@ class KeyWeakMap : public gin_helper::Wrappable<KeyWeakMap<K>> {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_COMMON_API_ATOM_API_KEY_WEAK_MAP_H_
|
||||
#endif // SHELL_COMMON_API_ELECTRON_API_KEY_WEAK_MAP_H_
|
|
@ -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/common/api/atom_api_native_image.h"
|
||||
#include "shell/common/api/electron_api_native_image.h"
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
|
@ -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_COMMON_API_ATOM_API_NATIVE_IMAGE_H_
|
||||
#define SHELL_COMMON_API_ATOM_API_NATIVE_IMAGE_H_
|
||||
#ifndef SHELL_COMMON_API_ELECTRON_API_NATIVE_IMAGE_H_
|
||||
#define SHELL_COMMON_API_ELECTRON_API_NATIVE_IMAGE_H_
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
@ -128,4 +128,4 @@ struct Converter<electron::api::NativeImage*> {
|
|||
|
||||
} // namespace gin
|
||||
|
||||
#endif // SHELL_COMMON_API_ATOM_API_NATIVE_IMAGE_H_
|
||||
#endif // SHELL_COMMON_API_ELECTRON_API_NATIVE_IMAGE_H_
|
|
@ -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/common/api/atom_api_native_image.h"
|
||||
#include "shell/common/api/electron_api_native_image.h"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
|
@ -15,7 +15,7 @@
|
|||
#include "v8/include/v8-profiler.h"
|
||||
|
||||
#if BUILDFLAG(ENABLE_REMOTE_MODULE)
|
||||
#include "shell/common/api/atom_api_key_weak_map.h"
|
||||
#include "shell/common/api/electron_api_key_weak_map.h"
|
||||
#include "shell/common/api/remote/remote_callback_freer.h"
|
||||
#include "shell/common/api/remote/remote_object_freer.h"
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue