diff options
Diffstat (limited to 'views/controls/button/button_dropdown.cc')
-rw-r--r-- | views/controls/button/button_dropdown.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/views/controls/button/button_dropdown.cc b/views/controls/button/button_dropdown.cc index a851c84..2d3f30e 100644 --- a/views/controls/button/button_dropdown.cc +++ b/views/controls/button/button_dropdown.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -106,7 +106,8 @@ void ButtonDropDown::OnMouseExited(const MouseEvent& e) { // //////////////////////////////////////////////////////////////////////////////// -void ButtonDropDown::ShowContextMenu(int x, int y, bool is_mouse_gesture) { +void ButtonDropDown::ShowContextMenu(const gfx::Point& p, + bool is_mouse_gesture) { show_menu_factory_.RevokeAll(); // Make the button look depressed while the menu is open. // NOTE: SetState() schedules a paint, but it won't occur until after the |