1 // Copyright (c) 2012 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_EXTENSIONS_EXTENSION_HOST_MAC_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_MAC_H_
8 #include "chrome/browser/extensions/extension_host.h"
10 namespace extensions {
13 // TODO(mpcomplete): I don't know what this does or if it is needed anymore,
14 // now that ExtensionHost is restructured to rely on WebContents.
15 class ExtensionHostMac : public ExtensionHost {
17 ExtensionHostMac(const Extension* extension,
18 content::SiteInstance* site_instance,
21 ExtensionHost(extension, site_instance, url, host_type) {}
22 virtual ~ExtensionHostMac();
25 virtual void UnhandledKeyboardEvent(
26 content::WebContents* source,
27 const content::NativeWebKeyboardEvent& event) OVERRIDE;
29 DISALLOW_COPY_AND_ASSIGN(ExtensionHostMac);
32 } // namespace extensions
34 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_MAC_H_