win: Implement menu parameter

This commit is contained in:
Cheng Zhao 2015-12-02 19:58:10 +08:00
parent 3cdd0f35c7
commit 615ce45849
3 changed files with 12 additions and 16 deletions

View file

@ -33,8 +33,7 @@ class NotifyIcon : public TrayIcon {
// Handles a click event from the user - if |left_button_click| is true and
// there is a registered observer, passes the click event to the observer,
// otherwise displays the context menu if there is one.
void HandleClickEvent(const gfx::Point& cursor_pos,
int modifiers,
void HandleClickEvent(int modifiers,
bool left_button_click,
bool double_button_click);