| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "gfx/native_widget_types.h" | 9 #include "ui/gfx/native_widget_types.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 | 16 |
| 17 class View; | 17 class View; |
| 18 | 18 |
| 19 //////////////////////////////////////////////////////////////////////////////// | 19 //////////////////////////////////////////////////////////////////////////////// |
| (...skipping 11 matching lines...) Expand all Loading... |
| 31 // ViewMenuDelegate was set on. | 31 // ViewMenuDelegate was set on. |
| 32 virtual void RunMenu(View* source, const gfx::Point& pt) = 0; | 32 virtual void RunMenu(View* source, const gfx::Point& pt) = 0; |
| 33 | 33 |
| 34 protected: | 34 protected: |
| 35 virtual ~ViewMenuDelegate() {} | 35 virtual ~ViewMenuDelegate() {} |
| 36 }; | 36 }; |
| 37 | 37 |
| 38 } // namespace views | 38 } // namespace views |
| 39 | 39 |
| 40 #endif // VIEWS_CONTROLS_MENU_VIEW_MENU_DELEGATE_H_ | 40 #endif // VIEWS_CONTROLS_MENU_VIEW_MENU_DELEGATE_H_ |
| OLD | NEW |