Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_MAC_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_MAC_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_MAC_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_MAC_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/extensions/extension_host.h" | 8 #include "chrome/browser/extensions/extension_host.h" |
| 9 | 9 |
| 10 namespace extensions { | 10 namespace extensions { |
| 11 class Extension; | 11 class Extension; |
| 12 | 12 |
| 13 // TODO(mpcomplete): I don't know what this does or if it is needed anymore, | 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. | 14 // now that ExtensionHost is restructured to rely on WebContents. |
| 15 class ExtensionHostMac : public ExtensionHost { | 15 class ExtensionHostMac : public ExtensionHost { |
| 16 public: | 16 public: |
| 17 ExtensionHostMac(const extensions::Extension* extension, | 17 ExtensionHostMac(const extensions::Extension* extension, |
| 18 content::SiteInstance* site_instance, | 18 content::SiteInstance* site_instance, |
| 19 const GURL& url, chrome::ViewType host_type) : | 19 const GURL& url, extensions::ViewType host_type) : |
|
Yoyo Zhou
2013/04/01 17:36:51
''.
Should also be one argument per line.
| |
| 20 ExtensionHost(extension, site_instance, url, host_type) {} | 20 ExtensionHost(extension, site_instance, url, host_type) {} |
| 21 virtual ~ExtensionHostMac(); | 21 virtual ~ExtensionHostMac(); |
| 22 | 22 |
| 23 private: | 23 private: |
| 24 virtual void UnhandledKeyboardEvent( | 24 virtual void UnhandledKeyboardEvent( |
| 25 content::WebContents* source, | 25 content::WebContents* source, |
| 26 const content::NativeWebKeyboardEvent& event) OVERRIDE; | 26 const content::NativeWebKeyboardEvent& event) OVERRIDE; |
| 27 | 27 |
| 28 DISALLOW_COPY_AND_ASSIGN(ExtensionHostMac); | 28 DISALLOW_COPY_AND_ASSIGN(ExtensionHostMac); |
| 29 }; | 29 }; |
| 30 | 30 |
| 31 } // namespace extensions | 31 } // namespace extensions |
| 32 | 32 |
| 33 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_MAC_H_ | 33 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_MAC_H_ |
| OLD | NEW |