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

Unified Diff: content/browser/browser_plugin/browser_plugin_host_role.h

Issue 10868012: Browser Plugin: New Implementation (Browser Side) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master-trial-obrowser
Patch Set: Address two nits from original CL's comments by creis Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/browser_plugin/browser_plugin_host_role.h
diff --git a/content/browser/browser_plugin/browser_plugin_host_role.h b/content/browser/browser_plugin/browser_plugin_host_role.h
new file mode 100644
index 0000000000000000000000000000000000000000..a37c376ca85ad94202fec4caab1d5d1d4d1da737
--- /dev/null
+++ b/content/browser/browser_plugin/browser_plugin_host_role.h
@@ -0,0 +1,24 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_HOST_ROLE_H_
+#define CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_HOST_ROLE_H_
+
+namespace content {
+
+// Base class for browser plugin host role. A WebContents having a (concrete
+// implementation of) role means it can operate in that role, roles can be
+// dynamically added.
+class BrowserPluginHostRole {
+ public:
+ BrowserPluginHostRole() {}
+ virtual ~BrowserPluginHostRole() {}
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(BrowserPluginHostRole);
+};
+
+} // namespace content
+
+#endif // CONTENT_BROWSER_BROWSER_PLUGIN_BROWSER_PLUGIN_HOST_ROLE_H_

Powered by Google App Engine
This is Rietveld 408576698