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

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

Issue 304293002: Add human readable programmatic enum name/values to chrome.automation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Last feedback. Created 6 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 | « no previous file | chrome/renderer/extensions/automation_internal_custom_bindings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/extensions/automation_internal_custom_bindings.h
diff --git a/chrome/renderer/extensions/automation_internal_custom_bindings.h b/chrome/renderer/extensions/automation_internal_custom_bindings.h
index 76b27dbf7103dfcd692b393e27a106a9e14b0e39..5ab6dafca5764e92772341edde5a6c5e593e4175 100644
--- a/chrome/renderer/extensions/automation_internal_custom_bindings.h
+++ b/chrome/renderer/extensions/automation_internal_custom_bindings.h
@@ -20,8 +20,14 @@ class AutomationInternalCustomBindings : public ObjectBackedNativeHandler {
virtual ~AutomationInternalCustomBindings();
private:
+ // Returns whether this extension has the "interact" permission set (either
+ // explicitly or implicitly after manifest parsing).
void IsInteractPermitted(const v8::FunctionCallbackInfo<v8::Value>& args);
+ // Returns an object with bindings that will be added to the
+ // chrome.automation namespace.
+ void GetSchemaAdditions(const v8::FunctionCallbackInfo<v8::Value>& args);
+
DISALLOW_COPY_AND_ASSIGN(AutomationInternalCustomBindings);
};
« no previous file with comments | « no previous file | chrome/renderer/extensions/automation_internal_custom_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698