• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
3 // found in the LICENSE file.
4 
5 #ifndef CHROME_BROWSER_UI_COCOA_ENCODING_MENU_CONTROLLER_DELEGATE_MAC_H_
6 #define CHROME_BROWSER_UI_COCOA_ENCODING_MENU_CONTROLLER_DELEGATE_MAC_H_
7 
8 #include "base/basictypes.h"  // For DISALLOW_IMPLICIT_CONSTRUCTORS
9 
10 @class NSMenu;
11 class Profile;
12 
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
15 // the encoding menu.
16 class EncodingMenuControllerDelegate {
17  public:
18   static void BuildEncodingMenu(Profile *profile, NSMenu* encoding_menu);
19  private:
20   DISALLOW_IMPLICIT_CONSTRUCTORS(EncodingMenuControllerDelegate);
21 };
22 
23 #endif  // CHROME_BROWSER_UI_COCOA_ENCODING_MENU_CONTROLLER_DELEGATE_MAC_H_
24