summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_view.h
diff options
context:
space:
mode:
authorjoshia@google.com <joshia@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-15 20:12:42 +0000
committerjoshia@google.com <joshia@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-15 20:12:42 +0000
commit9a2051dfb8a1b02f0ae06bd03c94f8d7945db669 (patch)
tree3e3c3b91866a6439fcc22fa52d9852de304815d2 /chrome/renderer/render_view.h
parent849890b62b75f95cf91ebd3fe49f1525ff6595bd (diff)
downloadchromium_src-9a2051dfb8a1b02f0ae06bd03c94f8d7945db669.zip
chromium_src-9a2051dfb8a1b02f0ae06bd03c94f8d7945db669.tar.gz
chromium_src-9a2051dfb8a1b02f0ae06bd03c94f8d7945db669.tar.bz2
Code to facilitate sending message to external host.
Note that at this time the parameters to the message are still tentative. The call goes as a sync call from renderer to the browser. From then onwards it happens async and no return value is available yet. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@957 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_view.h')
-rw-r--r--chrome/renderer/render_view.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h
index 635c077..1aa945f 100644
--- a/chrome/renderer/render_view.h
+++ b/chrome/renderer/render_view.h
@@ -46,6 +46,7 @@
#endif
#include "chrome/renderer/automation/dom_automation_controller.h"
#include "chrome/renderer/dom_ui_bindings.h"
+#include "chrome/renderer/external_host_bindings.h"
#include "chrome/renderer/external_js_object.h"
#include "chrome/renderer/render_process.h"
#include "chrome/renderer/render_widget.h"
@@ -499,11 +500,11 @@ class RenderView : public RenderWidget, public WebViewDelegate,
// Handles resource loads for this view.
scoped_refptr<ResourceDispatcher> resource_dispatcher_;
- // DOM Automation Controller CppBoundClass
+ // DOM Automation Controller CppBoundClass.
bool enable_dom_automation_;
DomAutomationController dom_automation_controller_;
- // Chrome page<->browser messaging CppBoundClass
+ // Chrome page<->browser messaging CppBoundClass.
bool enable_dom_ui_bindings_;
DOMUIBindings dom_ui_bindings_;
@@ -514,6 +515,9 @@ class RenderView : public RenderWidget, public WebViewDelegate,
// window.external object for "built-in" JS extensions
ExternalJSObject external_js_object_;
+ // External host exposed through automation controller.
+ ExternalHostBindings external_host_bindings_;
+
// The last gotten main frame's encoding.
std::wstring last_encoding_name_;