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

Side by Side Diff: content/browser/browser_plugin/browser_plugin_host_factory.h

Issue 11231077: Move a bunch more code into the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 2 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 CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_HOST_FACTORY_H_ 5 #ifndef CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_HOST_FACTORY_H_
6 #define CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_HOST_FACTORY_H_ 6 #define CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_HOST_FACTORY_H_
7 7
8 #include "base/base_export.h" 8 #include "base/base_export.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/string16.h" 11 #include "base/string16.h"
12 #include "content/common/content_export.h" 12 #include "content/common/content_export.h"
13 13
14 class WebContentsImpl;
15
16 namespace content { 14 namespace content {
17 15
18 class BrowserPluginEmbedder; 16 class BrowserPluginEmbedder;
19 class BrowserPluginGuest; 17 class BrowserPluginGuest;
20 class RenderViewHost; 18 class RenderViewHost;
19 class WebContentsImpl;
21 20
22 // Factory to create BrowserPlugin embedder and guest. 21 // Factory to create BrowserPlugin embedder and guest.
23 class CONTENT_EXPORT BrowserPluginHostFactory { 22 class CONTENT_EXPORT BrowserPluginHostFactory {
24 public: 23 public:
25 virtual BrowserPluginGuest* CreateBrowserPluginGuest( 24 virtual BrowserPluginGuest* CreateBrowserPluginGuest(
26 int instance_id, 25 int instance_id,
27 WebContentsImpl* web_contents, 26 WebContentsImpl* web_contents,
28 RenderViewHost* render_view_host) = 0; 27 RenderViewHost* render_view_host) = 0;
29 28
30 virtual BrowserPluginEmbedder* CreateBrowserPluginEmbedder( 29 virtual BrowserPluginEmbedder* CreateBrowserPluginEmbedder(
31 WebContentsImpl* web_contents, 30 WebContentsImpl* web_contents,
32 RenderViewHost* render_view_host) = 0; 31 RenderViewHost* render_view_host) = 0;
33 32
34 protected: 33 protected:
35 virtual ~BrowserPluginHostFactory() {} 34 virtual ~BrowserPluginHostFactory() {}
36 }; 35 };
37 36
38 } // namespace content 37 } // namespace content
39 38
40 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_HOST_FACTORY_H_ 39 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_HOST_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698