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

Side by Side Diff: ios/chrome/browser/tabs/tab.mm

Issue 2755013002: Removed webControllerDidSuppressDialog: callback. (Closed)
Patch Set: Self review 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 unified diff | Download patch
« no previous file with comments | « no previous file | ios/web/public/test/fakes/crw_test_web_state_observer.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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/chrome/browser/tabs/tab.h" 5 #import "ios/chrome/browser/tabs/tab.h"
6 6
7 #import <CoreLocation/CoreLocation.h> 7 #import <CoreLocation/CoreLocation.h>
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 9
10 #include <utility> 10 #include <utility>
(...skipping 1882 matching lines...) Expand 10 before | Expand all | Expand 10 after
1893 respondsToSelector:@selector(willUpdateSnapshot)]) { 1893 respondsToSelector:@selector(willUpdateSnapshot)]) {
1894 [[self.webController nativeController] willUpdateSnapshot]; 1894 [[self.webController nativeController] willUpdateSnapshot];
1895 } 1895 }
1896 [overscrollActionsController_ clear]; 1896 [overscrollActionsController_ clear];
1897 } 1897 }
1898 1898
1899 - (void)setWebUsageEnabled:(BOOL)webUsageEnabled { 1899 - (void)setWebUsageEnabled:(BOOL)webUsageEnabled {
1900 [self.webController setWebUsageEnabled:webUsageEnabled]; 1900 [self.webController setWebUsageEnabled:webUsageEnabled];
1901 } 1901 }
1902 1902
1903 - (void)webControllerDidSuppressDialog:(id)webController { 1903 - (void)webStateDidSuppressDialog:(web::WebState*)webState {
1904 DCHECK(isPrerenderTab_); 1904 DCHECK(isPrerenderTab_);
1905 [delegate_ discardPrerender]; 1905 [delegate_ discardPrerender];
1906 } 1906 }
1907 1907
1908 - (CGFloat)headerHeightForWebController:(CRWWebController*)webController { 1908 - (CGFloat)headerHeightForWebController:(CRWWebController*)webController {
1909 return [self.tabHeadersDelegate headerHeightForTab:self]; 1909 return [self.tabHeadersDelegate headerHeightForTab:self];
1910 } 1910 }
1911 1911
1912 - (void)webStateDidChangeVisibleSecurityState:(web::WebState*)webState { 1912 - (void)webStateDidChangeVisibleSecurityState:(web::WebState*)webState {
1913 // Disable fullscreen if SSL cert is invalid. 1913 // Disable fullscreen if SSL cert is invalid.
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
2104 2104
2105 - (TabModel*)parentTabModel { 2105 - (TabModel*)parentTabModel {
2106 return parentTabModel_; 2106 return parentTabModel_;
2107 } 2107 }
2108 2108
2109 - (FormInputAccessoryViewController*)inputAccessoryViewController { 2109 - (FormInputAccessoryViewController*)inputAccessoryViewController {
2110 return inputAccessoryViewController_.get(); 2110 return inputAccessoryViewController_.get();
2111 } 2111 }
2112 2112
2113 @end 2113 @end
OLDNEW
« no previous file with comments | « no previous file | ios/web/public/test/fakes/crw_test_web_state_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698