chore: rename atom -> electron (#21986)
This commit is contained in:
parent
f14fc4b041
commit
d9321f4df7
287 changed files with 1771 additions and 1708 deletions
|
@ -8,14 +8,14 @@
|
|||
#include <map>
|
||||
#include <string>
|
||||
|
||||
#include "shell/browser/ui/atom_menu_model.h"
|
||||
#include "shell/browser/ui/electron_menu_model.h"
|
||||
#include "ui/base/accelerators/accelerator.h"
|
||||
|
||||
namespace accelerator_util {
|
||||
|
||||
typedef struct {
|
||||
int position;
|
||||
electron::AtomMenuModel* model;
|
||||
electron::ElectronMenuModel* model;
|
||||
} MenuItem;
|
||||
typedef std::map<ui::Accelerator, MenuItem> AcceleratorTable;
|
||||
|
||||
|
@ -25,7 +25,7 @@ bool StringToAccelerator(const std::string& description,
|
|||
|
||||
// Generate a table that contains memu model's accelerators and command ids.
|
||||
void GenerateAcceleratorTable(AcceleratorTable* table,
|
||||
electron::AtomMenuModel* model);
|
||||
electron::ElectronMenuModel* model);
|
||||
|
||||
// Trigger command from the accelerators table.
|
||||
bool TriggerAcceleratorTableCommand(AcceleratorTable* table,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue