diff options
Diffstat (limited to 'chrome/views/button_dropdown.h')
-rw-r--r-- | chrome/views/button_dropdown.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/views/button_dropdown.h b/chrome/views/button_dropdown.h index 4f8727d..eac7e418 100644 --- a/chrome/views/button_dropdown.h +++ b/chrome/views/button_dropdown.h @@ -47,6 +47,13 @@ class ButtonDropDown : public Button { virtual void OnMouseReleased(const MouseEvent& e, bool canceled); virtual bool OnMouseDragged(const MouseEvent& e); + // Overridden from View. Used to display the right-click menu, as triggered + // by the keyboard, for instance. Using the member function ShowDropDownMenu + // for the actual display. + virtual void ShowContextMenu(int x, + int y, + bool is_mouse_gesture); + // Internal function to show the dropdown menu void ShowDropDownMenu(HWND window); |