chore: rename atom -> electron (#21986)
This commit is contained in:
parent
f14fc4b041
commit
d9321f4df7
287 changed files with 1771 additions and 1708 deletions
|
@ -45,7 +45,7 @@ RootView::RootView(NativeWindow* window)
|
|||
|
||||
RootView::~RootView() = default;
|
||||
|
||||
void RootView::SetMenu(AtomMenuModel* menu_model) {
|
||||
void RootView::SetMenu(ElectronMenuModel* menu_model) {
|
||||
if (menu_model == nullptr) {
|
||||
// Remove accelerators
|
||||
UnregisterAcceleratorsWithFocusManager();
|
||||
|
@ -201,7 +201,8 @@ bool RootView::AcceleratorPressed(const ui::Accelerator& accelerator) {
|
|||
accelerator);
|
||||
}
|
||||
|
||||
void RootView::RegisterAcceleratorsWithFocusManager(AtomMenuModel* menu_model) {
|
||||
void RootView::RegisterAcceleratorsWithFocusManager(
|
||||
ElectronMenuModel* menu_model) {
|
||||
if (!menu_model)
|
||||
return;
|
||||
// Clear previous accelerators.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue