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

Unified Diff: chrome/browser/gtk/extension_view_gtk.h

Issue 159527: Create render view for extensions on Linux. (Closed)
Patch Set: Created 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/gtk/extension_shelf_gtk.cc ('k') | chrome/browser/gtk/extension_view_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/extension_view_gtk.h
diff --git a/chrome/browser/gtk/extension_view_gtk.h b/chrome/browser/gtk/extension_view_gtk.h
new file mode 100644
index 0000000000000000000000000000000000000000..61e58fd4fdc2d6ad756844e7970f0f9dfbbb3d49
--- /dev/null
+++ b/chrome/browser/gtk/extension_view_gtk.h
@@ -0,0 +1,33 @@
+// Copyright (c) 2009 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 CHROME_BROWSER_GTK_EXTENSION_VIEW_GTK_H_
+#define CHROME_BROWSER_GTK_EXTENSION_VIEW_GTK_H_
+
+#include "base/basictypes.h"
+#include "base/gfx/native_widget_types.h"
+
+class ExtensionHost;
+class RenderViewHost;
+class RenderWidgetHostViewGtk;
+
+class ExtensionViewGtk {
+ public:
+ explicit ExtensionViewGtk(ExtensionHost* extension_host);
+
+ gfx::NativeView native_view();
+
+ private:
+ RenderViewHost* render_view_host() const;
+
+ void CreateWidgetHostView();
+
+ ExtensionHost* extension_host_;
+
+ RenderWidgetHostViewGtk* render_widget_host_view_;
+
+ DISALLOW_COPY_AND_ASSIGN(ExtensionViewGtk);
+};
+
+#endif // CHROME_BROWSER_GTK_EXTENSION_VIEW_GTK_H_
« no previous file with comments | « chrome/browser/gtk/extension_shelf_gtk.cc ('k') | chrome/browser/gtk/extension_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698