Move EventBindings to //extensions
commitc6c301add590f3dc46fbc6c42b278d3b87f13df1
authorrockot@chromium.org <rockot@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 15 Apr 2014 18:20:26 +0000 (15 18:20 +0000)
committerrockot@chromium.org <rockot@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 15 Apr 2014 18:20:26 +0000 (15 18:20 +0000)
treec6c8bbac01e61c3a61213bd5a686c37add21b3f3
parentf9966b0180a068b508030f10c4e353fbeb02165b
Move EventBindings to //extensions

This moves the EventBindings class to //extensions
along with one of its dependencies (ValueCounter).

EventBindings::Create now returns an ObjectBackedNativeHandler
rather than a ChromeV8Extension.

BUG=359836
TBR=phajdan.jr@chromium.org for chrome/test

Review URL: https://codereview.chromium.org/237723004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@263928 0039d316-1c4b-4281-b951-d872f2087c98
12 files changed:
chrome/chrome_common.gypi
chrome/chrome_renderer.gypi
chrome/common/extensions/value_counter_unittest.cc
chrome/renderer/extensions/dispatcher.cc
chrome/renderer/extensions/event_bindings.h [deleted file]
chrome/renderer/extensions/messaging_bindings.cc
chrome/test/base/chrome_render_view_test.cc
extensions/common/value_counter.cc [moved from chrome/common/extensions/value_counter.cc with 69% similarity]
extensions/common/value_counter.h [moved from chrome/common/extensions/value_counter.h with 88% similarity]
extensions/extensions.gyp
extensions/renderer/event_bindings.cc [moved from chrome/renderer/extensions/event_bindings.cc with 78% similarity]
extensions/renderer/event_bindings.h [new file with mode: 0644]