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

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

Issue 10868012: Browser Plugin: New Implementation (Browser Side) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master-trial-obrowser
Patch Set: sync + Address Albert's comments. Created 8 years, 3 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
(Empty)
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.
4
5 #ifndef CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_HOST_FACTORY_H_
6 #define CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_HOST_FACTORY_H_
7
8 #include "base/base_export.h"
9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h"
11 #include "base/string16.h"
12 #include "content/common/content_export.h"
13
14 class WebContentsImpl;
15
16 namespace content {
17
18 class BrowserPluginEmbedder;
19 class BrowserPluginGuest;
20 class RenderViewHost;
21
22 // Factory to create BrowserPlugin embedder and guest.
23 class CONTENT_EXPORT BrowserPluginHostFactory {
24 public:
25 virtual BrowserPluginGuest* CreateBrowserPluginGuest(
26 int instance_id,
27 WebContentsImpl* web_contents,
28 RenderViewHost* render_view_host) = 0;
29
30 virtual BrowserPluginEmbedder* CreateBrowserPluginEmbedder(
31 WebContentsImpl* web_contents,
32 RenderViewHost* render_view_host) = 0;
awong 2012/09/06 19:55:26 Nice catch on the virtual destructor :) nit: add
lazyboy 2012/09/07 19:33:19 Need to make it protected and need providing blank
33 private:
34 virtual ~BrowserPluginHostFactory();
35 };
36
37 } // namespace content
38
39 #endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_HOST_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698