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

Side by Side Diff: ios/web/interstitials/native_web_interstitial_impl.mm

Issue 2605913002: Fix include import in ios/web (Closed)
Patch Set: add missing #import Created 3 years, 11 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 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 #include "ios/web/interstitials/native_web_interstitial_impl.h" 5 #import "ios/web/interstitials/native_web_interstitial_impl.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "ios/web/public/interstitials/web_interstitial_delegate.h" 10 #import "ios/web/public/interstitials/web_interstitial_delegate.h"
11 #import "ios/web/public/web_state/ui/crw_generic_content_view.h" 11 #import "ios/web/public/web_state/ui/crw_generic_content_view.h"
12 #include "ios/web/web_state/web_state_impl.h" 12 #import "ios/web/web_state/web_state_impl.h"
13 #include "ui/gfx/geometry/size.h" 13 #include "ui/gfx/geometry/size.h"
14 14
15 #if !defined(__has_feature) || !__has_feature(objc_arc) 15 #if !defined(__has_feature) || !__has_feature(objc_arc)
16 #error "This file requires ARC support." 16 #error "This file requires ARC support."
17 #endif 17 #endif
18 18
19 namespace web { 19 namespace web {
20 20
21 // static 21 // static
22 WebInterstitial* WebInterstitial::CreateNativeInterstitial( 22 WebInterstitial* WebInterstitial::CreateNativeInterstitial(
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 return delegate_.get(); 57 return delegate_.get();
58 } 58 }
59 59
60 void NativeWebInterstitialImpl::ExecuteJavaScript( 60 void NativeWebInterstitialImpl::ExecuteJavaScript(
61 NSString* script, 61 NSString* script,
62 JavaScriptResultBlock completion_handler) { 62 JavaScriptResultBlock completion_handler) {
63 NOTREACHED() << "JavaScript cannot be executed on native interstitials."; 63 NOTREACHED() << "JavaScript cannot be executed on native interstitials.";
64 } 64 }
65 65
66 } // namespace web 66 } // namespace web
OLDNEW
« no previous file with comments | « ios/web/interstitials/native_web_interstitial_impl.h ('k') | ios/web/interstitials/web_interstitial_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698