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

Side by Side Diff: ios/web/public/interstitials/web_interstitial.h

Issue 2544293002: ios: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « ios/web/public/browser_state.h ('k') | ios/web/public/test/web_js_test.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 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_PUBLIC_INTERSTITIALS_WEB_INTERSTITIAL_H_ 5 #ifndef IOS_WEB_PUBLIC_INTERSTITIALS_WEB_INTERSTITIAL_H_
6 #define IOS_WEB_PUBLIC_INTERSTITIALS_WEB_INTERSTITIAL_H_ 6 #define IOS_WEB_PUBLIC_INTERSTITIALS_WEB_INTERSTITIAL_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 class GURL; 10 class GURL;
11 11
12 namespace gfx {
13 class Size;
14 }
15
16 namespace web { 12 namespace web {
17 13
18 class HtmlWebInterstitialDelegate; 14 class HtmlWebInterstitialDelegate;
19 class NativeWebInterstitialDelegate; 15 class NativeWebInterstitialDelegate;
20 class WebState; 16 class WebState;
21 17
22 // This class is used for showing interstitial pages, pages that show some 18 // This class is used for showing interstitial pages, pages that show some
23 // informative message asking for user validation before reaching the target 19 // informative message asking for user validation before reaching the target
24 // page. (Navigating to a page served over bad HTTPS or a page containing 20 // page. (Navigating to a page served over bad HTTPS or a page containing
25 // malware are typical cases where an interstitial is required.) 21 // malware are typical cases where an interstitial is required.)
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 59
64 // Delegates should call this method when the user has chosen to proceed to 60 // Delegates should call this method when the user has chosen to proceed to
65 // the target URL. 61 // the target URL.
66 // Warning: 'this' has been deleted when this method returns. 62 // Warning: 'this' has been deleted when this method returns.
67 virtual void Proceed() = 0; 63 virtual void Proceed() = 0;
68 }; 64 };
69 65
70 } // namespace web 66 } // namespace web
71 67
72 #endif // IOS_WEB_PUBLIC_INTERSTITIALS_WEB_INTERSTITIAL_H_ 68 #endif // IOS_WEB_PUBLIC_INTERSTITIALS_WEB_INTERSTITIAL_H_
OLDNEW
« no previous file with comments | « ios/web/public/browser_state.h ('k') | ios/web/public/test/web_js_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698