chore: rename atom -> electron (#21986)
This commit is contained in:
parent
f14fc4b041
commit
d9321f4df7
287 changed files with 1771 additions and 1708 deletions
|
@ -2,11 +2,11 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#include "shell/browser/api/views/atom_api_box_layout.h"
|
||||
#include "shell/browser/api/views/electron_api_box_layout.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "shell/browser/api/atom_api_view.h"
|
||||
#include "shell/browser/api/electron_api_view.h"
|
||||
#include "shell/common/gin_helper/constructor.h"
|
||||
#include "shell/common/gin_helper/dictionary.h"
|
||||
#include "shell/common/node_includes.h"
|
|
@ -2,11 +2,11 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_API_VIEWS_ATOM_API_BOX_LAYOUT_H_
|
||||
#define SHELL_BROWSER_API_VIEWS_ATOM_API_BOX_LAYOUT_H_
|
||||
#ifndef SHELL_BROWSER_API_VIEWS_ELECTRON_API_BOX_LAYOUT_H_
|
||||
#define SHELL_BROWSER_API_VIEWS_ELECTRON_API_BOX_LAYOUT_H_
|
||||
|
||||
#include "gin/handle.h"
|
||||
#include "shell/browser/api/views/atom_api_layout_manager.h"
|
||||
#include "shell/browser/api/views/electron_api_layout_manager.h"
|
||||
#include "ui/views/layout/box_layout.h"
|
||||
|
||||
namespace electron {
|
||||
|
@ -38,4 +38,4 @@ class BoxLayout : public LayoutManager {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_VIEWS_ATOM_API_BOX_LAYOUT_H_
|
||||
#endif // SHELL_BROWSER_API_VIEWS_ELECTRON_API_BOX_LAYOUT_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/browser/api/views/atom_api_button.h"
|
||||
#include "shell/browser/api/views/electron_api_button.h"
|
||||
|
||||
#include "shell/common/gin_helper/constructor.h"
|
||||
#include "shell/common/gin_helper/dictionary.h"
|
|
@ -2,11 +2,11 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_API_VIEWS_ATOM_API_BUTTON_H_
|
||||
#define SHELL_BROWSER_API_VIEWS_ATOM_API_BUTTON_H_
|
||||
#ifndef SHELL_BROWSER_API_VIEWS_ELECTRON_API_BUTTON_H_
|
||||
#define SHELL_BROWSER_API_VIEWS_ELECTRON_API_BUTTON_H_
|
||||
|
||||
#include "gin/handle.h"
|
||||
#include "shell/browser/api/atom_api_view.h"
|
||||
#include "shell/browser/api/electron_api_view.h"
|
||||
#include "ui/views/controls/button/button.h"
|
||||
|
||||
namespace electron {
|
||||
|
@ -37,4 +37,4 @@ class Button : public View, public views::ButtonListener {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_VIEWS_ATOM_API_BUTTON_H_
|
||||
#endif // SHELL_BROWSER_API_VIEWS_ELECTRON_API_BUTTON_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/browser/api/views/atom_api_label_button.h"
|
||||
#include "shell/browser/api/views/electron_api_label_button.h"
|
||||
|
||||
#include "base/strings/utf_string_conversions.h"
|
||||
#include "shell/common/gin_helper/constructor.h"
|
|
@ -2,12 +2,12 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_API_VIEWS_ATOM_API_LABEL_BUTTON_H_
|
||||
#define SHELL_BROWSER_API_VIEWS_ATOM_API_LABEL_BUTTON_H_
|
||||
#ifndef SHELL_BROWSER_API_VIEWS_ELECTRON_API_LABEL_BUTTON_H_
|
||||
#define SHELL_BROWSER_API_VIEWS_ELECTRON_API_LABEL_BUTTON_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "shell/browser/api/views/atom_api_button.h"
|
||||
#include "shell/browser/api/views/electron_api_button.h"
|
||||
#include "ui/views/controls/button/label_button.h"
|
||||
|
||||
namespace electron {
|
||||
|
@ -44,4 +44,4 @@ class LabelButton : public Button {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_VIEWS_ATOM_API_LABEL_BUTTON_H_
|
||||
#endif // SHELL_BROWSER_API_VIEWS_ELECTRON_API_LABEL_BUTTON_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/browser/api/views/atom_api_layout_manager.h"
|
||||
#include "shell/browser/api/views/electron_api_layout_manager.h"
|
||||
|
||||
#include "shell/common/gin_helper/constructor.h"
|
||||
#include "shell/common/gin_helper/dictionary.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_BROWSER_API_VIEWS_ATOM_API_LAYOUT_MANAGER_H_
|
||||
#define SHELL_BROWSER_API_VIEWS_ATOM_API_LAYOUT_MANAGER_H_
|
||||
#ifndef SHELL_BROWSER_API_VIEWS_ELECTRON_API_LAYOUT_MANAGER_H_
|
||||
#define SHELL_BROWSER_API_VIEWS_ELECTRON_API_LAYOUT_MANAGER_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -41,4 +41,4 @@ class LayoutManager : public gin_helper::TrackableObject<LayoutManager> {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_VIEWS_ATOM_API_LAYOUT_MANAGER_H_
|
||||
#endif // SHELL_BROWSER_API_VIEWS_ELECTRON_API_LAYOUT_MANAGER_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/browser/api/views/atom_api_md_text_button.h"
|
||||
#include "shell/browser/api/views/electron_api_md_text_button.h"
|
||||
|
||||
#include "base/strings/utf_string_conversions.h"
|
||||
#include "shell/common/gin_helper/constructor.h"
|
|
@ -2,12 +2,12 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_API_VIEWS_ATOM_API_MD_TEXT_BUTTON_H_
|
||||
#define SHELL_BROWSER_API_VIEWS_ATOM_API_MD_TEXT_BUTTON_H_
|
||||
#ifndef SHELL_BROWSER_API_VIEWS_ELECTRON_API_MD_TEXT_BUTTON_H_
|
||||
#define SHELL_BROWSER_API_VIEWS_ELECTRON_API_MD_TEXT_BUTTON_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "shell/browser/api/views/atom_api_label_button.h"
|
||||
#include "shell/browser/api/views/electron_api_label_button.h"
|
||||
#include "ui/views/controls/button/md_text_button.h"
|
||||
|
||||
namespace electron {
|
||||
|
@ -38,4 +38,4 @@ class MdTextButton : public LabelButton {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_VIEWS_ATOM_API_MD_TEXT_BUTTON_H_
|
||||
#endif // SHELL_BROWSER_API_VIEWS_ELECTRON_API_MD_TEXT_BUTTON_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/browser/api/views/atom_api_resize_area.h"
|
||||
#include "shell/browser/api/views/electron_api_resize_area.h"
|
||||
|
||||
#include "shell/common/gin_helper/constructor.h"
|
||||
#include "shell/common/gin_helper/dictionary.h"
|
|
@ -2,11 +2,11 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_API_VIEWS_ATOM_API_RESIZE_AREA_H_
|
||||
#define SHELL_BROWSER_API_VIEWS_ATOM_API_RESIZE_AREA_H_
|
||||
#ifndef SHELL_BROWSER_API_VIEWS_ELECTRON_API_RESIZE_AREA_H_
|
||||
#define SHELL_BROWSER_API_VIEWS_ELECTRON_API_RESIZE_AREA_H_
|
||||
|
||||
#include "gin/handle.h"
|
||||
#include "shell/browser/api/atom_api_view.h"
|
||||
#include "shell/browser/api/electron_api_view.h"
|
||||
#include "ui/views/controls/resize_area.h"
|
||||
#include "ui/views/controls/resize_area_delegate.h"
|
||||
|
||||
|
@ -40,4 +40,4 @@ class ResizeArea : public View, protected views::ResizeAreaDelegate {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_VIEWS_ATOM_API_RESIZE_AREA_H_
|
||||
#endif // SHELL_BROWSER_API_VIEWS_ELECTRON_API_RESIZE_AREA_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/browser/api/views/atom_api_text_field.h"
|
||||
#include "shell/browser/api/views/electron_api_text_field.h"
|
||||
|
||||
#include "shell/common/gin_helper/constructor.h"
|
||||
#include "shell/common/gin_helper/dictionary.h"
|
|
@ -2,11 +2,11 @@
|
|||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef SHELL_BROWSER_API_VIEWS_ATOM_API_TEXT_FIELD_H_
|
||||
#define SHELL_BROWSER_API_VIEWS_ATOM_API_TEXT_FIELD_H_
|
||||
#ifndef SHELL_BROWSER_API_VIEWS_ELECTRON_API_TEXT_FIELD_H_
|
||||
#define SHELL_BROWSER_API_VIEWS_ELECTRON_API_TEXT_FIELD_H_
|
||||
|
||||
#include "gin/handle.h"
|
||||
#include "shell/browser/api/atom_api_view.h"
|
||||
#include "shell/browser/api/electron_api_view.h"
|
||||
#include "ui/views/controls/textfield/textfield.h"
|
||||
|
||||
namespace electron {
|
||||
|
@ -39,4 +39,4 @@ class TextField : public View {
|
|||
|
||||
} // namespace electron
|
||||
|
||||
#endif // SHELL_BROWSER_API_VIEWS_ATOM_API_TEXT_FIELD_H_
|
||||
#endif // SHELL_BROWSER_API_VIEWS_ELECTRON_API_TEXT_FIELD_H_
|
Loading…
Add table
Add a link
Reference in a new issue