Commit 8e0401b9 authored by michaeldo's avatar michaeldo Committed by Commit bot

Cleanup in FullscreenController.

BUG=none

Review-Url: https://codereview.chromium.org/2619483002
Cr-Commit-Position: refs/heads/master@{#442954}
parent 081e3d8b
...@@ -144,8 +144,6 @@ BOOL CGFloatEquals(CGFloat a, CGFloat b) { ...@@ -144,8 +144,6 @@ BOOL CGFloatEquals(CGFloat a, CGFloat b) {
- (void)decrementFullScreenLock; - (void)decrementFullScreenLock;
// Called when the application is about to be the foreground application. // Called when the application is about to be the foreground application.
- (void)applicationWillEnterForeground:(NSNotification*)notification; - (void)applicationWillEnterForeground:(NSNotification*)notification;
// TODO(shreyasv): Make the following methods act on a WebViewScrollView proxy
// instead of taking in a UIScrollView directly.
// Called from -webViewScrollViewDidScroll: Returns YES if the scroll should be // Called from -webViewScrollViewDidScroll: Returns YES if the scroll should be
// ignored. // ignored.
- (BOOL)shouldIgnoreScroll:(CRWWebViewScrollViewProxy*)webViewScrollViewProxy; - (BOOL)shouldIgnoreScroll:(CRWWebViewScrollViewProxy*)webViewScrollViewProxy;
...@@ -294,8 +292,8 @@ BOOL CGFloatEquals(CGFloat a, CGFloat b) { ...@@ -294,8 +292,8 @@ BOOL CGFloatEquals(CGFloat a, CGFloat b) {
selector:@selector(decrementFullScreenLock) selector:@selector(decrementFullScreenLock)
name:ios_internal::kSideSwipeDidStopNotification name:ios_internal::kSideSwipeDidStopNotification
object:nil]; object:nil];
// TODO(jbbegue): Evaluate using a listener instead of a notification // TODO(crbug.com/451373): Evaluate using listeners instead of
// crbug/451373. // notifications.
[center addObserver:self [center addObserver:self
selector:@selector(overscrollActionsWillStart) selector:@selector(overscrollActionsWillStart)
name:kOverscrollActionsWillStart name:kOverscrollActionsWillStart
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment