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

Side by Side Diff: ios/web_view/public/cwv_ui_delegate.h

Issue 2782253002: Remove CWV_IMPLEMENTATION hack. (Closed)
Patch Set: Created 3 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_WEB_VIEW_PUBLIC_CWV_UI_DELEGATE_H_ 5 #ifndef IOS_WEB_VIEW_PUBLIC_CWV_UI_DELEGATE_H_
6 #define IOS_WEB_VIEW_PUBLIC_CWV_UI_DELEGATE_H_ 6 #define IOS_WEB_VIEW_PUBLIC_CWV_UI_DELEGATE_H_
7 7
8 #import <CoreGraphics/CoreGraphics.h> 8 #import <CoreGraphics/CoreGraphics.h>
9 #import <UIKit/UIKit.h> 9 #import <UIKit/UIKit.h>
10 10
11 // TODO(crbug.com/704946): Make framework style include work everywhere and 11 #include "cwv_export.h"
12 // remove this #if.
13 #if defined(CWV_IMPLEMENTATION)
14 #include "ios/web_view/public/cwv_export.h"
15 #else
16 #include <ChromeWebView/cwv_export.h>
17 #endif
18 12
19 @class CWVHTMLElement; 13 @class CWVHTMLElement;
20 @class CWVWebView; 14 @class CWVWebView;
21 @class CWVWebViewConfiguration; 15 @class CWVWebViewConfiguration;
22 @class CWVNavigationAction; 16 @class CWVNavigationAction;
23 17
24 // UI delegate interface for a CWVWebView. Embedders can implement the 18 // UI delegate interface for a CWVWebView. Embedders can implement the
25 // functions in order to customize library behavior. 19 // functions in order to customize library behavior.
26 CWV_EXPORT 20 CWV_EXPORT
27 @protocol CWVUIDelegate<NSObject> 21 @protocol CWVUIDelegate<NSObject>
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 - (void)webView:(CWVWebView*)webView 60 - (void)webView:(CWVWebView*)webView
67 runJavaScriptTextInputPanelWithPrompt:(NSString*)prompt 61 runJavaScriptTextInputPanelWithPrompt:(NSString*)prompt
68 defaultText:(NSString*)defaultText 62 defaultText:(NSString*)defaultText
69 pageURL:(NSURL*)URL 63 pageURL:(NSURL*)URL
70 completionHandler: 64 completionHandler:
71 (void (^)(NSString*))completionHandler; 65 (void (^)(NSString*))completionHandler;
72 66
73 @end 67 @end
74 68
75 #endif // IOS_WEB_VIEW_PUBLIC_CWV_UI_DELEGATE_H_ 69 #endif // IOS_WEB_VIEW_PUBLIC_CWV_UI_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698