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

Unified Diff: chrome/renderer/extensions/api_definitions_natives.h

Issue 10392127: Move declarative API into events API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix change schema type reference from 'Event' to 'events.Event' 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
« no previous file with comments | « chrome/common/extensions_api_resources.grd ('k') | chrome/renderer/extensions/api_definitions_natives.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/extensions/api_definitions_natives.h
diff --git a/chrome/renderer/extensions/api_definitions_natives.h b/chrome/renderer/extensions/api_definitions_natives.h
index 48a9abe874e608a8294d485f5ab17dc9d7abd350..269728bb1e7352ebf745cf08aedaef297ffb8ca6 100644
--- a/chrome/renderer/extensions/api_definitions_natives.h
+++ b/chrome/renderer/extensions/api_definitions_natives.h
@@ -19,8 +19,9 @@ class ApiDefinitionsNatives : public ChromeV8Extension {
explicit ApiDefinitionsNatives(ExtensionDispatcher* extension_dispatcher);
private:
- // Takes no arguments and returns the list of schemas that are available to
- // the calling context.
+ // Returns the list of schemas that are available to the calling context
+ // and have their names listed in |args|. If |args| is empty, returns the list
+ // of all schemas that are available to the calling context.
v8::Handle<v8::Value> GetExtensionAPIDefinition(const v8::Arguments& args);
DISALLOW_COPY_AND_ASSIGN(ApiDefinitionsNatives);
« no previous file with comments | « chrome/common/extensions_api_resources.grd ('k') | chrome/renderer/extensions/api_definitions_natives.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698