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

Unified Diff: ceee/ie/plugin/bho/browser_helper_object.h

Issue 5647001: Use the RPC channel to set the ID <-> handle mapping.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years 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 | « ceee/ie/common/constants.cc ('k') | ceee/ie/plugin/bho/browser_helper_object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ceee/ie/plugin/bho/browser_helper_object.h
===================================================================
--- ceee/ie/plugin/bho/browser_helper_object.h (revision 68188)
+++ ceee/ie/plugin/bho/browser_helper_object.h (working copy)
@@ -262,6 +262,13 @@
// Accessor so that we can mock it in unit tests.
virtual BrokerRpcClient& broker_rpc() { return broker_rpc_; }
+ // Fires the private message to map a tab id to its associated tab handle.
+ virtual HRESULT FireMapTabIdToHandle();
+
+ // Fires the private message to map a tool band id to its associated tab
Jói 2010/12/04 20:41:49 nit: tool band -> toolband
+ // handle.
+ virtual HRESULT FireMapToolbandIdToHandle(int toolband_id);
+
// Fires the tab.onCreated event via the tab event funnel.
virtual void FireOnCreatedEvent(BSTR url);
@@ -433,6 +440,10 @@
DISALLOW_COPY_AND_ASSIGN(BrokerEventQueue);
};
+ // This synchronously send the association between the given ID and our
+ // current tab handle using the given event name.
+ HRESULT SendIdMappingToBroker(const char* event_name, int id);
+
// This either calls its Impl or queues the call for later, when we have a
// tab_id.
HRESULT SendEventToBroker(const char* event_name, const char* event_args);
« no previous file with comments | « ceee/ie/common/constants.cc ('k') | ceee/ie/plugin/bho/browser_helper_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698