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

Unified Diff: ios/web/public/block_types.h

Issue 914993006: Upstream web_controller_provider and dependencies (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@libusb
Patch Set: Remove weak dependency on WebKit Created 5 years, 10 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 | « ios/web/ios_web.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/block_types.h
diff --git a/ios/web/public/block_types.h b/ios/web/public/block_types.h
new file mode 100644
index 0000000000000000000000000000000000000000..8074dc04e69856c886dd9480cf46f2cb011a4062
--- /dev/null
+++ b/ios/web/public/block_types.h
@@ -0,0 +1,18 @@
+// Copyright 2015 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_WEB_PUBLIC_BLOCK_TYPES_H_
+#define IOS_WEB_PUBLIC_BLOCK_TYPES_H_
+
+#import <Foundation/Foundation.h>
+
+namespace web {
+
+// The type of the completion handler block that is called to inform about
+// JavaScript evaluation completion.
+typedef void (^JavaScriptCompletion)(NSString*, NSError*);
+
+} // namespace
+
+#endif // IOS_WEB_PUBLIC_BLOCK_TYPES_H_
« no previous file with comments | « ios/web/ios_web.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698