Index: ios/clean/chrome/browser/ui/commands/java_script_dialog_commands.h |
diff --git a/ios/clean/chrome/browser/ui/commands/java_script_dialog_commands.h b/ios/clean/chrome/browser/ui/commands/java_script_dialog_commands.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..545e2ef901192c90ed7ada425a76c2c6a87fc592 |
--- /dev/null |
+++ b/ios/clean/chrome/browser/ui/commands/java_script_dialog_commands.h |
@@ -0,0 +1,17 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_JAVA_SCRIPT_DIALOG_COMMANDS_H_ |
+#define IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_JAVA_SCRIPT_DIALOG_COMMANDS_H_ |
+ |
+// Command protocol for dismissing JavaScript dialogs. |
+@protocol JavaScriptDialogDismissalCommands<NSObject> |
+ |
+// Called after the user interaction with the JavaScript dialog has been handled |
+// and the dialog can be dismissed. |
+- (void)dismissJavaScriptDialog; |
+ |
+@end |
+ |
+#endif // IOS_CLEAN_CHROME_BROWSER_UI_COMMANDS_JAVA_SCRIPT_DIALOG_COMMANDS_H_ |