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

Unified Diff: chrome/common/extensions/api/context_menus.json

Issue 10890002: Make V8ValueConverter.FromV8Value behave similarly to JSON.stringify (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use the actual objects, not empty objects Created 8 years, 3 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/common/extensions/api/context_menus.json
diff --git a/chrome/common/extensions/api/context_menus.json b/chrome/common/extensions/api/context_menus.json
index 5a333ebb9f6aa7ab61b44dc4cc57f5f59371e3d4..7bc03f82b71abe18ecfe9e4ef8167ca2396421a5 100644
--- a/chrome/common/extensions/api/context_menus.json
+++ b/chrome/common/extensions/api/context_menus.json
@@ -77,6 +77,7 @@
{
"name": "create",
"type": "function",
+ "allow_functions_in_objects": true,
"description": "Creates a new context menu item. Note that if an error occurs during creation, you may not find out until the creation callback fires (the details will be in chrome.extension.lastError).",
"returns": {
"choices": [
@@ -177,6 +178,7 @@
{
"name": "update",
"type": "function",
+ "allow_functions_in_objects": true,
"description": "Updates a previously created context menu item.",
"parameters": [
{
« no previous file with comments | « no previous file | chrome/renderer/extensions/event_bindings.cc » ('j') | content/public/renderer/v8_value_converter.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698