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

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

Issue 126137: Part 1 of merging Extensions and DOMUI (Closed)
Patch Set: add test and rebase Created 11 years, 6 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: chrome/browser/renderer_host/render_view_host_delegate.h
diff --git a/chrome/browser/renderer_host/render_view_host_delegate.h b/chrome/browser/renderer_host/render_view_host_delegate.h
index fd52627370d409c05356b2625eb5eaca35c602d7..09b34bc01f44b7d58f140de737ddbc1c883437e9 100644
--- a/chrome/browser/renderer_host/render_view_host_delegate.h
+++ b/chrome/browser/renderer_host/render_view_host_delegate.h
@@ -19,9 +19,7 @@
#include "webkit/glue/webpreferences.h"
#include "webkit/glue/window_open_disposition.h"
-#include "chrome/browser/extensions/extension_function_dispatcher.h"
-
-class ExtensionFunctionDispatcher;
+class AutofillForm;
class NavigationEntry;
class Profile;
class RenderProcessHost;
@@ -161,14 +159,6 @@ class RenderViewHostDelegate {
// Gets the URL that is currently being displayed, if there is one.
virtual const GURL& GetURL() 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 TabContents, if it is one.
virtual TabContents* GetAsTabContents() { return NULL; }
@@ -278,7 +268,9 @@ class RenderViewHostDelegate {
// A message was sent from HTML-based UI.
// By default we ignore such messages.
virtual void ProcessDOMUIMessage(const std::string& message,
- const std::string& content) { }
+ const std::string& content,
+ int request_id,
+ bool has_callback) { }
// A message for external host. By default we ignore such messages.
// |receiver| can be a receiving script and |message| is any
« no previous file with comments | « chrome/browser/renderer_host/render_view_host.cc ('k') | chrome/browser/renderer_host/render_view_host_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698