chore: rename atom -> electron (#21986)
This commit is contained in:
parent
f14fc4b041
commit
d9321f4df7
287 changed files with 1771 additions and 1708 deletions
|
@ -9,7 +9,7 @@
|
|||
#include <vector>
|
||||
|
||||
#include "base/observer_list.h"
|
||||
#include "shell/browser/ui/atom_menu_model.h"
|
||||
#include "shell/browser/ui/electron_menu_model.h"
|
||||
#include "shell/browser/ui/tray_icon_observer.h"
|
||||
#include "shell/common/gin_converters/guid_converter.h"
|
||||
#include "ui/gfx/geometry/rect.h"
|
||||
|
@ -80,12 +80,12 @@ class TrayIcon {
|
|||
|
||||
// Popups the menu.
|
||||
virtual void PopUpContextMenu(const gfx::Point& pos,
|
||||
AtomMenuModel* menu_model);
|
||||
ElectronMenuModel* menu_model);
|
||||
|
||||
virtual void CloseContextMenu();
|
||||
|
||||
// Set the context menu for this icon.
|
||||
virtual void SetContextMenu(AtomMenuModel* menu_model) = 0;
|
||||
virtual void SetContextMenu(ElectronMenuModel* menu_model) = 0;
|
||||
|
||||
// Returns the bounds of tray icon.
|
||||
virtual gfx::Rect GetBounds();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue