blob: cca76b59418cb9805c2c0609c4e3cc1c4ac933ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_COCOA_ENCODING_MENU_CONTROLLER_DELEGATE_MAC_H_
#define CHROME_BROWSER_COCOA_ENCODING_MENU_CONTROLLER_DELEGATE_MAC_H_
#pragma once
#include "base/basictypes.h" // For DISALLOW_IMPLICIT_CONSTRUCTORS
@class NSMenu;
class Profile;
// The Windows version of this class manages the Encoding Menu, but since Cocoa
// does that for us automagically, the only thing left to do is construct
// the encoding menu.
class EncodingMenuControllerDelegate {
public:
static void BuildEncodingMenu(Profile *profile, NSMenu* encoding_menu);
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(EncodingMenuControllerDelegate);
};
#endif // CHROME_BROWSER_COCOA_ENCODING_MENU_CONTROLLER_DELEGATE_MAC_H_
|