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

Unified Diff: chrome/browser/ui/cocoa/applescript/error_applescript.h

Issue 2477633003: [Mac] Add a feature flag to disable Javascript execution in Applescript (Closed)
Patch Set: nit Created 4 years, 1 month 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/browser/ui/cocoa/applescript/error_applescript.h
diff --git a/chrome/browser/ui/cocoa/applescript/error_applescript.h b/chrome/browser/ui/cocoa/applescript/error_applescript.h
index 2b91a2c319b86ad6527c2bd8dd611b94bd44be3e..e9521a41b6f8137f33be32f27fa0ec9b833cac45 100644
--- a/chrome/browser/ui/cocoa/applescript/error_applescript.h
+++ b/chrome/browser/ui/cocoa/applescript/error_applescript.h
@@ -31,7 +31,9 @@ enum ErrorCode {
// Error when mode is set after browser window is created.
errSetMode,
// Error when index of browser window is out of bounds.
- errWrongIndex
+ errWrongIndex,
+ // Error when JavaScript execution is disabled.
+ errJavaScriptUnsupported
};
// This function sets an error message to the currently executing command.

Powered by Google App Engine
This is Rietveld 408576698