Make variables private instead of protected
This commit is contained in:
parent
2006e22aa4
commit
a8d1a7aed4
2 changed files with 7 additions and 3 deletions
|
@ -29,14 +29,16 @@ class MenuMac : public Menu {
|
|||
bool async);
|
||||
void ClosePopupAt(int32_t window_id) override;
|
||||
|
||||
scoped_nsobject<AtomMenuController> menu_controller_;
|
||||
std::map<int32_t, scoped_nsobject<AtomMenuController>> popup_controllers_;
|
||||
|
||||
private:
|
||||
friend class Menu;
|
||||
|
||||
static void SendActionToFirstResponder(const std::string& action);
|
||||
|
||||
scoped_nsobject<AtomMenuController> menu_controller_;
|
||||
|
||||
// window ID -> open context menu
|
||||
std::map<int32_t, scoped_nsobject<AtomMenuController>> popup_controllers_;
|
||||
|
||||
base::WeakPtrFactory<MenuMac> weak_factory_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(MenuMac);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue