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

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

Issue 9460002: Convert app_bindings.js to the schema_generated_bindings.js infrastructure. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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/custom_bindings_util.cc
diff --git a/chrome/renderer/extensions/custom_bindings_util.cc b/chrome/renderer/extensions/custom_bindings_util.cc
index 352f7015e9852eaa8710ca2a83e34e1f9203dfad..a8ab240ab021c6f4663d3c6f880b9b8152ff89fc 100644
--- a/chrome/renderer/extensions/custom_bindings_util.cc
+++ b/chrome/renderer/extensions/custom_bindings_util.cc
@@ -10,6 +10,7 @@
#include "base/string_util.h"
#include "chrome/common/extensions/api/extension_api.h"
#include "chrome/common/extensions/extension.h"
+#include "chrome/renderer/extensions/app_bindings.h"
#include "chrome/renderer/extensions/chrome_v8_extension.h"
#include "chrome/renderer/extensions/chrome_private_custom_bindings.h"
#include "chrome/renderer/extensions/context_menus_custom_bindings.h"
@@ -72,6 +73,8 @@ std::vector<v8::Extension*> GetAll(ExtensionDispatcher* extension_dispatcher) {
std::vector<v8::Extension*> result;
// Custom bindings that have native code parts.
+ result.push_back(new AppBindings(
+ kDependencyCount, kDependencies, extension_dispatcher));
result.push_back(new ChromePrivateCustomBindings(
kDependencyCount, kDependencies, extension_dispatcher));
result.push_back(new ContextMenusCustomBindings(

Powered by Google App Engine
This is Rietveld 408576698