chore: rename atom -> electron (#21986)
This commit is contained in:
parent
f14fc4b041
commit
d9321f4df7
287 changed files with 1771 additions and 1708 deletions
|
@ -12,7 +12,7 @@
|
|||
#include "base/mac/scoped_nsobject.h"
|
||||
#include "shell/browser/ui/tray_icon.h"
|
||||
|
||||
@class AtomMenuController;
|
||||
@class ElectronMenuController;
|
||||
@class StatusItemView;
|
||||
|
||||
namespace electron {
|
||||
|
@ -29,11 +29,11 @@ class TrayIconCocoa : public TrayIcon {
|
|||
std::string GetTitle() override;
|
||||
void SetIgnoreDoubleClickEvents(bool ignore) override;
|
||||
bool GetIgnoreDoubleClickEvents() override;
|
||||
void PopUpOnUI(AtomMenuModel* menu_model);
|
||||
void PopUpOnUI(ElectronMenuModel* menu_model);
|
||||
void PopUpContextMenu(const gfx::Point& pos,
|
||||
AtomMenuModel* menu_model) override;
|
||||
ElectronMenuModel* menu_model) override;
|
||||
void CloseContextMenu() override;
|
||||
void SetContextMenu(AtomMenuModel* menu_model) override;
|
||||
void SetContextMenu(ElectronMenuModel* menu_model) override;
|
||||
gfx::Rect GetBounds() override;
|
||||
|
||||
private:
|
||||
|
@ -41,7 +41,7 @@ class TrayIconCocoa : public TrayIcon {
|
|||
base::scoped_nsobject<StatusItemView> status_item_view_;
|
||||
|
||||
// Status menu shown when right-clicking the system icon.
|
||||
base::scoped_nsobject<AtomMenuController> menu_;
|
||||
base::scoped_nsobject<ElectronMenuController> menu_;
|
||||
|
||||
base::WeakPtrFactory<TrayIconCocoa> weak_factory_;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue