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

Unified Diff: ios/web/web_state/ui/crw_web_view_scroll_view_proxy.mm

Issue 2752113002: Moved WebView(ScrollView)Proxy files to ui subdirectory. (Closed)
Patch Set: Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: ios/web/web_state/ui/crw_web_view_scroll_view_proxy.mm
diff --git a/ios/web/web_state/crw_web_view_scroll_view_proxy.mm b/ios/web/web_state/ui/crw_web_view_scroll_view_proxy.mm
similarity index 95%
rename from ios/web/web_state/crw_web_view_scroll_view_proxy.mm
rename to ios/web/web_state/ui/crw_web_view_scroll_view_proxy.mm
index 291f4093a46b085626706808506a5a35f26e1050..3c5b54e051fea81724c5dda4a48eb53286a22a08 100644
--- a/ios/web/web_state/crw_web_view_scroll_view_proxy.mm
+++ b/ios/web/web_state/ui/crw_web_view_scroll_view_proxy.mm
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#import "ios/web/public/web_state/crw_web_view_scroll_view_proxy.h"
+#import "ios/web/public/web_state/ui/crw_web_view_scroll_view_proxy.h"
#import <objc/runtime.h>
@@ -191,11 +191,11 @@
DCHECK_EQ(_scrollView, scrollView);
__block BOOL shouldScrollToTop = YES;
[_observers executeOnObservers:^(id observer) {
- if ([observer respondsToSelector:@selector(
- webViewScrollViewShouldScrollToTop:)]) {
- shouldScrollToTop = shouldScrollToTop &&
- [observer webViewScrollViewShouldScrollToTop:self];
- }
+ if ([observer respondsToSelector:@selector
+ (webViewScrollViewShouldScrollToTop:)]) {
+ shouldScrollToTop = shouldScrollToTop &&
+ [observer webViewScrollViewShouldScrollToTop:self];
+ }
}];
return shouldScrollToTop;
}
« no previous file with comments | « ios/web/web_state/ui/crw_web_view_proxy_impl.mm ('k') | ios/web/web_state/ui/crw_web_view_scroll_view_proxy_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698