| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef IOS_CHROME_BROWSER_UI_MAIN_BROWSER_VIEW_WRANGLER_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_MAIN_BROWSER_VIEW_WRANGLER_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_MAIN_BROWSER_VIEW_WRANGLER_H_ | 6 #define IOS_CHROME_BROWSER_UI_MAIN_BROWSER_VIEW_WRANGLER_H_ |
| 7 | 7 |
| 8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
| 9 | 9 |
| 10 #import "ios/chrome/browser/ui/main/browser_view_information.h" | 10 #import "ios/chrome/browser/ui/main/browser_view_information.h" |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 | 50 |
| 51 // Update the device sharing manager. This should be done after updates to the | 51 // Update the device sharing manager. This should be done after updates to the |
| 52 // tab model. This class creates and manages the state of the sharing manager. | 52 // tab model. This class creates and manages the state of the sharing manager. |
| 53 - (void)updateDeviceSharingManager; | 53 - (void)updateDeviceSharingManager; |
| 54 | 54 |
| 55 // Delete any incognito tab model state, using |removalController| to handle | 55 // Delete any incognito tab model state, using |removalController| to handle |
| 56 // the storage removal. | 56 // the storage removal. |
| 57 - (void)deleteIncognitoTabModelState: | 57 - (void)deleteIncognitoTabModelState: |
| 58 (BrowsingDataRemovalController*)removalController; | 58 (BrowsingDataRemovalController*)removalController; |
| 59 | 59 |
| 60 // Updates the mode toggle buttons on tablet. The incognito tab strip always | |
| 61 // shows the switcher icon. | |
| 62 - (void)updateModeToggle; | |
| 63 | |
| 64 @end | 60 @end |
| 65 | 61 |
| 66 @interface BrowserViewWrangler (Testing) | 62 @interface BrowserViewWrangler (Testing) |
| 67 @property(nonatomic, readonly) DeviceSharingManager* deviceSharingManager; | 63 @property(nonatomic, readonly) DeviceSharingManager* deviceSharingManager; |
| 68 @end | 64 @end |
| 69 | 65 |
| 70 #endif // IOS_CHROME_BROWSER_UI_MAIN_BROWSER_VIEW_WRANGLER_H_ | 66 #endif // IOS_CHROME_BROWSER_UI_MAIN_BROWSER_VIEW_WRANGLER_H_ |
| OLD | NEW |