| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_CONTEXT_MENU_CONTROLLER_H_ | 5 #ifndef UI_VIEWS_CONTEXT_MENU_CONTROLLER_H_ |
| 6 #define VIEWS_CONTEXT_MENU_CONTROLLER_H_ | 6 #define UI_VIEWS_CONTEXT_MENU_CONTROLLER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "views/views_export.h" | 9 #include "views/views_export.h" |
| 10 | 10 |
| 11 namespace gfx { | 11 namespace gfx { |
| 12 class Point; | 12 class Point; |
| 13 } | 13 } |
| 14 | 14 |
| 15 namespace views { | 15 namespace views { |
| 16 class View; | 16 class View; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 37 virtual void ShowContextMenuForView(View* source, | 37 virtual void ShowContextMenuForView(View* source, |
| 38 const gfx::Point& p, | 38 const gfx::Point& p, |
| 39 bool is_mouse_gesture) = 0; | 39 bool is_mouse_gesture) = 0; |
| 40 | 40 |
| 41 protected: | 41 protected: |
| 42 virtual ~ContextMenuController() {} | 42 virtual ~ContextMenuController() {} |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 } // namespace views | 45 } // namespace views |
| 46 | 46 |
| 47 #endif // VIEWS_CONTEXT_MENU_CONTROLLER_H_ | 47 #endif // UI_VIEWS_CONTEXT_MENU_CONTROLLER_H_ |
| OLD | NEW |