| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 CHROME_BROWSER_UI_COCOA_ENCODING_MENU_CONTROLLER_DELEGATE_MAC_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_ENCODING_MENU_CONTROLLER_DELEGATE_MAC_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_ENCODING_MENU_CONTROLLER_DELEGATE_MAC_H_ | 6 #define CHROME_BROWSER_UI_COCOA_ENCODING_MENU_CONTROLLER_DELEGATE_MAC_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" // For DISALLOW_IMPLICIT_CONSTRUCTORS | 8 #include "base/macros.h" |
| 9 | 9 |
| 10 @class NSMenu; | 10 @class NSMenu; |
| 11 class Profile; | 11 class Profile; |
| 12 | 12 |
| 13 // The Windows version of this class manages the Encoding Menu, but since Cocoa | 13 // The Windows version of this class manages the Encoding Menu, but since Cocoa |
| 14 // does that for us automagically, the only thing left to do is construct | 14 // does that for us automagically, the only thing left to do is construct |
| 15 // the encoding menu. | 15 // the encoding menu. |
| 16 class EncodingMenuControllerDelegate { | 16 class EncodingMenuControllerDelegate { |
| 17 public: | 17 public: |
| 18 static void BuildEncodingMenu(Profile *profile, NSMenu* encoding_menu); | 18 static void BuildEncodingMenu(Profile *profile, NSMenu* encoding_menu); |
| 19 private: | 19 private: |
| 20 DISALLOW_IMPLICIT_CONSTRUCTORS(EncodingMenuControllerDelegate); | 20 DISALLOW_IMPLICIT_CONSTRUCTORS(EncodingMenuControllerDelegate); |
| 21 }; | 21 }; |
| 22 | 22 |
| 23 #endif // CHROME_BROWSER_UI_COCOA_ENCODING_MENU_CONTROLLER_DELEGATE_MAC_H_ | 23 #endif // CHROME_BROWSER_UI_COCOA_ENCODING_MENU_CONTROLLER_DELEGATE_MAC_H_ |
| OLD | NEW |