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

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

Issue 258373002: Towards moving guest management to chrome: Introduce GuestViewManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android build Created 6 years, 7 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
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/strings/string16.h" 11 #include "base/strings/string16.h"
12 #include "content/common/content_export.h" 12 #include "content/common/content_export.h"
13 13
14 struct BrowserPluginHostMsg_CreateGuest_Params; 14 struct BrowserPluginHostMsg_CreateGuest_Params;
15 15
16 namespace content { 16 namespace content {
17 17
18 class BrowserPluginEmbedder; 18 class BrowserPluginEmbedder;
19 class BrowserPluginGuest; 19 class BrowserPluginGuest;
20 class RenderViewHost; 20 class RenderViewHost;
21 class WebContentsImpl; 21 class WebContentsImpl;
22 22
23 // Factory to create BrowserPlugin embedder and guest. 23 // Factory to create BrowserPlugin embedder and guest.
24 class CONTENT_EXPORT BrowserPluginHostFactory { 24 class CONTENT_EXPORT BrowserPluginHostFactory {
25 public: 25 public:
26 virtual BrowserPluginGuestManager* CreateBrowserPluginGuestManager() = 0; 26 virtual BrowserPluginGuestManager* CreateBrowserPluginGuestManager(
27 BrowserContext* context) = 0;
27 28
28 virtual BrowserPluginGuest* CreateBrowserPluginGuest( 29 virtual BrowserPluginGuest* CreateBrowserPluginGuest(
29 int instance_id, 30 int instance_id,
30 WebContentsImpl* web_contents) = 0; 31 WebContentsImpl* web_contents) = 0;
31 32
32 virtual BrowserPluginEmbedder* CreateBrowserPluginEmbedder( 33 virtual BrowserPluginEmbedder* CreateBrowserPluginEmbedder(
33 WebContentsImpl* web_contents) = 0; 34 WebContentsImpl* web_contents) = 0;
34 35
35 protected: 36 protected:
36 virtual ~BrowserPluginHostFactory() {} 37 virtual ~BrowserPluginHostFactory() {}
37 }; 38 };
38 39
39 } // namespace content 40 } // namespace content
40 41
41 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_HOST_FACTORY_H_ 42 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_HOST_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698