diff options
author | mpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-27 19:35:09 +0000 |
---|---|---|
committer | mpcomplete@google.com <mpcomplete@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-27 19:35:09 +0000 |
commit | 81e6378c98d0e69339302527eb1de4735d1e2c3f (patch) | |
tree | d8020f1a2a842b0735c22a35e89a97ec7630bf17 /chrome/renderer/dom_ui_bindings.h | |
parent | 4c8c60ee58cf2f22fcdc0cf3b30f1f5e8884f0ff (diff) | |
download | chromium_src-81e6378c98d0e69339302527eb1de4735d1e2c3f.zip chromium_src-81e6378c98d0e69339302527eb1de4735d1e2c3f.tar.gz chromium_src-81e6378c98d0e69339302527eb1de4735d1e2c3f.tar.bz2 |
Prototype extension process. This is a proof of concept, with a lot of
rough edges. Mostly this just fires up a renderer with an "extension" object
exposed, which right now only has a single method "getTestString".
I also did some misc cleanup along the way.
Review URL: http://codereview.chromium.org/27187
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10620 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/dom_ui_bindings.h')
-rw-r--r-- | chrome/renderer/dom_ui_bindings.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/chrome/renderer/dom_ui_bindings.h b/chrome/renderer/dom_ui_bindings.h index d5a18ed..75b1385 100644 --- a/chrome/renderer/dom_ui_bindings.h +++ b/chrome/renderer/dom_ui_bindings.h @@ -15,10 +15,6 @@ class DOMBoundBrowserObject : public CppBoundClass { public: DOMBoundBrowserObject() : routing_id_(0) { } virtual ~DOMBoundBrowserObject(); - - // Different for each subclass; associates the javascript object with any - // number of methods. - virtual void BindMethods() = 0; // Set the message channel back to the browser. void set_message_sender(IPC::Message::Sender* sender) { @@ -59,12 +55,9 @@ class DOMBoundBrowserObject : public CppBoundClass { // delegate. class DOMUIBindings : public DOMBoundBrowserObject { public: - DOMUIBindings() { BindMethods(); } + DOMUIBindings(); virtual ~DOMUIBindings() {} - // DOMBoundBrowserObject implementation. - virtual void BindMethods(); - // The send() function provided to Javascript. void send(const CppArgumentList& args, CppVariant* result); private: |