| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/ui/fullscreen_controller.h" | 5 #import "ios/chrome/browser/ui/fullscreen_controller.h" |
| 6 | 6 |
| 7 #include <cmath> | 7 #include <cmath> |
| 8 | 8 |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/mac/objc_property_releaser.h" | 10 #include "base/mac/objc_property_releaser.h" |
| 11 #import "ios/chrome/browser/ui/browser_view_controller.h" | 11 #import "ios/chrome/browser/ui/browser_view_controller.h" |
| 12 #import "ios/chrome/browser/ui/overscroll_actions/overscroll_actions_controller.
h" | 12 #import "ios/chrome/browser/ui/overscroll_actions/overscroll_actions_controller.
h" |
| 13 #import "ios/chrome/browser/ui/tabs/tab_strip_controller.h" | 13 #import "ios/chrome/browser/ui/tabs/tab_strip_controller.h" |
| 14 #import "ios/chrome/browser/ui/toolbar/toolbar_controller.h" | 14 #import "ios/chrome/browser/ui/toolbar/toolbar_controller.h" |
| 15 #import "ios/chrome/browser/ui/toolbar/web_toolbar_controller.h" | 15 #import "ios/chrome/browser/ui/toolbar/web_toolbar_controller.h" |
| 16 #import "ios/chrome/browser/ui/voice/voice_search_notification_names.h" | 16 #import "ios/chrome/browser/ui/voice/voice_search_notification_names.h" |
| 17 #include "ios/web/public/navigation_item.h" | 17 #include "ios/web/public/navigation_item.h" |
| 18 #import "ios/web/public/navigation_manager.h" | 18 #import "ios/web/public/navigation_manager.h" |
| 19 #include "ios/web/public/ssl_status.h" | 19 #include "ios/web/public/ssl_status.h" |
| 20 #import "ios/web/public/web_state/crw_web_view_proxy.h" | 20 #import "ios/web/public/web_state/ui/crw_web_view_proxy.h" |
| 21 #import "ios/web/web_state/ui/crw_web_controller.h" | 21 #import "ios/web/web_state/ui/crw_web_controller.h" |
| 22 | 22 |
| 23 NSString* const kSetupForTestingWillCloseAllTabsNotification = | 23 NSString* const kSetupForTestingWillCloseAllTabsNotification = |
| 24 @"kSetupForTestingWillCloseAllTabsNotification"; | 24 @"kSetupForTestingWillCloseAllTabsNotification"; |
| 25 | 25 |
| 26 using web::NavigationManager; | 26 using web::NavigationManager; |
| 27 | 27 |
| 28 namespace { | 28 namespace { |
| 29 | 29 |
| 30 class ScopedIncrementer { | 30 class ScopedIncrementer { |
| (...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 817 overscrollActionsInProgress_ = NO; | 817 overscrollActionsInProgress_ = NO; |
| 818 } | 818 } |
| 819 | 819 |
| 820 #pragma mark - Used for testing | 820 #pragma mark - Used for testing |
| 821 | 821 |
| 822 + (void)setEnabledForTests:(BOOL)enabled { | 822 + (void)setEnabledForTests:(BOOL)enabled { |
| 823 gEnabledForTests = enabled; | 823 gEnabledForTests = enabled; |
| 824 } | 824 } |
| 825 | 825 |
| 826 @end | 826 @end |
| OLD | NEW |