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

Unified Diff: chrome/renderer/extensions/event_unittest.cc

Issue 10389168: Revert 137388 - Move declarative API into events API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 months 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
Index: chrome/renderer/extensions/event_unittest.cc
===================================================================
--- chrome/renderer/extensions/event_unittest.cc (revision 137393)
+++ chrome/renderer/extensions/event_unittest.cc (working copy)
@@ -14,7 +14,6 @@
module_system_->RunString("chrome = {};", "setup-chrome");
RegisterModule("event", IDR_EVENT_BINDINGS_JS);
- RegisterModule("utils", IDR_UTILS_JS);
// Mock out the native handler for event_bindings. These mocks will fail if
// any invariants maintained by the real event_bindings are broken.
@@ -32,10 +31,6 @@
OverrideNativeHandler("chrome_hidden",
"var chromeHidden = {};"
"exports.GetChromeHidden = function() { return chromeHidden; };");
- OverrideNativeHandler("sendRequest",
- "exports.sendRequest = function() {};");
- OverrideNativeHandler("apiDefinitions",
- "exports.GetExtensionAPIDefinition = function() {};");
}
};
« no previous file with comments | « chrome/renderer/extensions/api_definitions_natives.cc ('k') | chrome/renderer/extensions/extension_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698