win: Fix building
This commit is contained in:
parent
b717add81b
commit
643d1dcdd1
1 changed files with 2 additions and 3 deletions
|
@ -60,14 +60,13 @@ void NotifyIcon::HandleClickEvent(const gfx::Point& cursor_pos,
|
||||||
if (!SetForegroundWindow(window_))
|
if (!SetForegroundWindow(window_))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
views::MenuRunner menu_runner(menu_model_);
|
views::MenuRunner menu_runner(menu_model_, views::MenuRunner::CONTEXT_MENU);
|
||||||
ignore_result(menu_runner.RunMenuAt(
|
ignore_result(menu_runner.RunMenuAt(
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
gfx::Rect(cursor_pos, gfx::Size()),
|
gfx::Rect(cursor_pos, gfx::Size()),
|
||||||
views::MENU_ANCHOR_TOPLEFT,
|
views::MENU_ANCHOR_TOPLEFT,
|
||||||
ui::MENU_SOURCE_MOUSE,
|
ui::MENU_SOURCE_MOUSE));
|
||||||
views::MenuRunner::HAS_MNEMONICS | views::MenuRunner::CONTEXT_MENU));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void NotifyIcon::ResetIcon() {
|
void NotifyIcon::ResetIcon() {
|
||||||
|
|
Loading…
Reference in a new issue