• 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 #pragma once
8 
9 #include "base/basictypes.h"  // For DISALLOW_IMPLICIT_CONSTRUCTORS
10 
11 @class NSMenu;
12 class Profile;
13 
14 // The Windows version of this class manages the Encoding Menu, but since Cocoa
15 // does that for us automagically, the only thing left to do is construct
16 // the encoding menu.
17 class EncodingMenuControllerDelegate {
18  public:
19   static void BuildEncodingMenu(Profile *profile, NSMenu* encoding_menu);
20  private:
21   DISALLOW_IMPLICIT_CONSTRUCTORS(EncodingMenuControllerDelegate);
22 };
23 
24 #endif  // CHROME_BROWSER_UI_COCOA_ENCODING_MENU_CONTROLLER_DELEGATE_MAC_H_
25