diff options
author | dharani@chromium.org <dharani@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-03 20:24:32 +0000 |
---|---|---|
committer | dharani@chromium.org <dharani@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-03 20:24:32 +0000 |
commit | b12b86d9a48887a9f6bfcbd3ffab408d6e3fd3b3 (patch) | |
tree | 44b3fdcdfd9858c2ac1a884181bbde6c7a245ac5 /chrome/common/extensions/extension_messages.h | |
parent | 8cca9621a858256226dfc6d7588a2fda32ad2daf (diff) | |
download | chromium_src-b12b86d9a48887a9f6bfcbd3ffab408d6e3fd3b3.zip chromium_src-b12b86d9a48887a9f6bfcbd3ffab408d6e3fd3b3.tar.gz chromium_src-b12b86d9a48887a9f6bfcbd3ffab408d6e3fd3b3.tar.bz2 |
Revert 145145 - Filtered events.
Check bug 134977 for details
Makes web_navigation events support filters, eg:
chrome.webNavigation.onBeforeCommitted.addListener(callback, {url: [{hostSuffix: 'google.com'}]});
Now callback will only be called when the event has a URL with a host suffix of google.com.
BUG=121479
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=143872
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=143874
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=143896
Review URL: https://chromiumcodereview.appspot.com/10514013
TBR=koz@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10700092
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145368 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/extension_messages.h')
-rw-r--r-- | chrome/common/extensions/extension_messages.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/chrome/common/extensions/extension_messages.h b/chrome/common/extensions/extension_messages.h index 8499d09..18b9be7 100644 --- a/chrome/common/extensions/extension_messages.h +++ b/chrome/common/extensions/extension_messages.h @@ -367,22 +367,6 @@ IPC_MESSAGE_CONTROL2(ExtensionHostMsg_RemoveLazyListener, std::string /* extension_id */, std::string /* name */) -// Notify the browser that the given extension added a listener to instances of -// the named event that satisfy the filter. -IPC_MESSAGE_CONTROL4(ExtensionHostMsg_AddFilteredListener, - std::string /* extension_id */, - std::string /* name */, - DictionaryValue /* filter */, - bool /* lazy */) - -// Notify the browser that the given extension is no longer interested in -// instances of the named event that satisfy the filter. -IPC_MESSAGE_CONTROL4(ExtensionHostMsg_RemoveFilteredListener, - std::string /* extension_id */, - std::string /* name */, - DictionaryValue /* filter */, - bool /* lazy */) - // Notify the browser that an event has finished being dispatched. IPC_MESSAGE_ROUTED0(ExtensionHostMsg_EventAck) |