Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Side by Side Diff: chrome/browser/extensions/extension_host_mac.h

Issue 10698144: Remove #pragma once from chrome/browser/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 #pragma once
8 7
9 #include "chrome/browser/extensions/extension_host.h" 8 #include "chrome/browser/extensions/extension_host.h"
10 9
11 namespace extensions { 10 namespace extensions {
12 class Extension; 11 class Extension;
13 } 12 }
14 13
15 // TODO(mpcomplete): I don't know what this does or if it is needed anymore, 14 // TODO(mpcomplete): I don't know what this does or if it is needed anymore,
16 // now that ExtensionHost is restructured to rely on WebContents. 15 // now that ExtensionHost is restructured to rely on WebContents.
17 class ExtensionHostMac : public ExtensionHost { 16 class ExtensionHostMac : public ExtensionHost {
18 public: 17 public:
19 ExtensionHostMac(const extensions::Extension* extension, 18 ExtensionHostMac(const extensions::Extension* extension,
20 content::SiteInstance* site_instance, 19 content::SiteInstance* site_instance,
21 const GURL& url, chrome::ViewType host_type) : 20 const GURL& url, chrome::ViewType host_type) :
22 ExtensionHost(extension, site_instance, url, host_type) {} 21 ExtensionHost(extension, site_instance, url, host_type) {}
23 virtual ~ExtensionHostMac(); 22 virtual ~ExtensionHostMac();
24 23
25 private: 24 private:
26 virtual void UnhandledKeyboardEvent( 25 virtual void UnhandledKeyboardEvent(
27 const content::NativeWebKeyboardEvent& event) OVERRIDE; 26 const content::NativeWebKeyboardEvent& event) OVERRIDE;
28 27
29 DISALLOW_COPY_AND_ASSIGN(ExtensionHostMac); 28 DISALLOW_COPY_AND_ASSIGN(ExtensionHostMac);
30 }; 29 };
31 30
32 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_MAC_H_ 31 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_MAC_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_host.h ('k') | chrome/browser/extensions/extension_i18n_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698