Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / encoding_menu_controller_delegate_mac.h
blob82ed351d0a350648426cae628882950522e6f7a4
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.
5 #ifndef CHROME_BROWSER_UI_COCOA_ENCODING_MENU_CONTROLLER_DELEGATE_MAC_H_
6 #define CHROME_BROWSER_UI_COCOA_ENCODING_MENU_CONTROLLER_DELEGATE_MAC_H_
8 #include "base/basictypes.h" // For DISALLOW_IMPLICIT_CONSTRUCTORS
10 @class NSMenu;
11 class Profile;
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);
23 #endif // CHROME_BROWSER_UI_COCOA_ENCODING_MENU_CONTROLLER_DELEGATE_MAC_H_