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

Unified Diff: chrome/browser/renderer_host/render_view_host_delegate.h

Issue 79070: createWindow api call. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 8 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/renderer_host/render_view_host.cc ('k') | chrome/browser/tab_contents/tab_contents.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/render_view_host_delegate.h
===================================================================
--- chrome/browser/renderer_host/render_view_host_delegate.h (revision 14694)
+++ chrome/browser/renderer_host/render_view_host_delegate.h (working copy)
@@ -19,7 +19,10 @@
#include "webkit/glue/webpreferences.h"
#include "webkit/glue/window_open_disposition.h"
+#include "chrome/browser/extensions/extension_function_dispatcher.h"
+
class AutofillForm;
+class ExtensionFunctionDispatcher;
class NavigationEntry;
class Profile;
class RenderProcessHost;
@@ -147,6 +150,14 @@
// Retrieves the profile to be used.
virtual Profile* GetProfile() const = 0;
+ // Create a new browser window to be sized, shown and contents managed
+ // by the caller.
+ virtual ExtensionFunctionDispatcher *CreateExtensionFunctionDispatcher(
+ RenderViewHost* render_view_host,
+ const std::string& extension_id) {
+ return NULL;
+ }
+
// Return this object cast to a WebContents, if it is one.
virtual WebContents* GetAsWebContents() { return NULL; }
« no previous file with comments | « chrome/browser/renderer_host/render_view_host.cc ('k') | chrome/browser/tab_contents/tab_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698