Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef IOS_WEB_WEB_STATE_JS_CRW_JS_HTML_LOADER_H_ | |
|
Eugene But (OOO till 7-30)
2015/10/08 17:46:32
This does not match filename
stkhapugin
2015/12/03 15:43:01
Done.
| |
| 6 #define IOS_WEB_WEB_STATE_JS_CRW_JS_HTML_LOADER_H_ | |
| 7 | |
| 8 #import <WebKit/WKWebView.h> | |
| 9 | |
| 10 // Class to load POST requests in a provided web view via JavaScript. | |
| 11 @interface CRWJSPOSTRequestLoader : NSObject | |
|
Eugene But (OOO till 7-30)
2015/10/08 17:46:32
Do we need a class here? Can we have a function in
stkhapugin
2015/12/03 15:43:00
We need a class here because we want to cache the
| |
| 12 | |
| 13 // Asynchronously loads a POST |request| in provided |webView|. | |
| 14 - (void)loadPOSTRequest:(NSURLRequest*)request inWebView:(WKWebView*)webView; | |
|
Eugene But (OOO till 7-30)
2015/10/08 17:46:32
This needs a unit test
stkhapugin
2015/12/03 15:43:01
Done.
| |
| 15 | |
| 16 @end | |
| 17 | |
| 18 #endif // IOS_WEB_WEB_STATE_JS_CRW_JS_HTML_LOADER_H_ | |
| OLD | NEW |