OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef VIEWS_CONTROLS_MENU_VIEW_MENU_DELEGATE_H_ | 5 #ifndef VIEWS_CONTROLS_MENU_VIEW_MENU_DELEGATE_H_ |
6 #define VIEWS_CONTROLS_MENU_VIEW_MENU_DELEGATE_H_ | 6 #define VIEWS_CONTROLS_MENU_VIEW_MENU_DELEGATE_H_ |
7 | 7 |
8 #include "base/gfx/native_widget_types.h" | 8 #include "app/gfx/native_widget_types.h" |
9 | 9 |
10 namespace gfx { | 10 namespace gfx { |
11 class Point; | 11 class Point; |
12 } | 12 } |
13 | 13 |
14 namespace views { | 14 namespace views { |
15 | 15 |
16 class View; | 16 class View; |
17 | 17 |
18 //////////////////////////////////////////////////////////////////////////////// | 18 //////////////////////////////////////////////////////////////////////////////// |
(...skipping 10 matching lines...) Expand all Loading... |
29 // Create and show a menu at the specified position. Source is the view the | 29 // Create and show a menu at the specified position. Source is the view the |
30 // ViewMenuDelegate was set on. | 30 // ViewMenuDelegate was set on. |
31 virtual void RunMenu(View* source, | 31 virtual void RunMenu(View* source, |
32 const gfx::Point& pt, | 32 const gfx::Point& pt, |
33 gfx::NativeView hwnd) = 0; | 33 gfx::NativeView hwnd) = 0; |
34 }; | 34 }; |
35 | 35 |
36 } // namespace views | 36 } // namespace views |
37 | 37 |
38 #endif // VIEWS_CONTROLS_MENU_VIEW_MENU_DELEGATE_H_ | 38 #endif // VIEWS_CONTROLS_MENU_VIEW_MENU_DELEGATE_H_ |
OLD | NEW |