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

Side by Side Diff: ios/web/web_state/ui/crw_generic_content_view.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 #import "ios/web/public/web_state/ui/crw_generic_content_view.h" 5 #import "ios/web/public/web_state/ui/crw_generic_content_view.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/mac/scoped_nsobject.h" 8 #import "base/mac/scoped_nsobject.h"
9 9
10 #if !defined(__has_feature) || !__has_feature(objc_arc) 10 #if !defined(__has_feature) || !__has_feature(objc_arc)
11 #error "This file requires ARC support." 11 #error "This file requires ARC support."
12 #endif 12 #endif
13 13
14 @interface CRWGenericContentView () { 14 @interface CRWGenericContentView () {
15 // The size of the view's bounds at the last call to |-layoutSubviews|. 15 // The size of the view's bounds at the last call to |-layoutSubviews|.
16 CGSize _lastLayoutSize; 16 CGSize _lastLayoutSize;
17 // Backing objectect for |self.scrollView|. 17 // Backing objectect for |self.scrollView|.
18 base::scoped_nsobject<UIScrollView> _scrollView; 18 base::scoped_nsobject<UIScrollView> _scrollView;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 viewSize.height = CGRectGetHeight(contentRect) + singlePixel; 97 viewSize.height = CGRectGetHeight(contentRect) + singlePixel;
98 } 98 }
99 self.scrollView.contentSize = viewSize; 99 self.scrollView.contentSize = viewSize;
100 } 100 }
101 101
102 - (BOOL)isViewAlive { 102 - (BOOL)isViewAlive {
103 return YES; 103 return YES;
104 } 104 }
105 105
106 @end 106 @end
OLDNEW
« no previous file with comments | « ios/web/web_state/js/page_script_util_unittest.mm ('k') | ios/web/web_state/ui/crw_web_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698