| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |