| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_TOOLBAR_WEB_TOOLBAR_CONTROLLER_PRIVATE_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_TOOLBAR_WEB_TOOLBAR_CONTROLLER_PRIVATE_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_TOOLBAR_WEB_TOOLBAR_CONTROLLER_PRIVATE_H_ | 6 #define IOS_CHROME_BROWSER_UI_TOOLBAR_WEB_TOOLBAR_CONTROLLER_PRIVATE_H_ |
| 7 | 7 |
| 8 #import <CoreGraphics/CoreGraphics.h> |
| 9 |
| 10 #include <string> |
| 11 |
| 8 #import "ios/chrome/browser/ui/toolbar/web_toolbar_controller.h" | 12 #import "ios/chrome/browser/ui/toolbar/web_toolbar_controller.h" |
| 9 | 13 |
| 14 @class OmniboxTextFieldIOS; |
| 15 |
| 10 // Private methods for unit tests. | 16 // Private methods for unit tests. |
| 11 @interface WebToolbarController (Testing) | 17 @interface WebToolbarController (Testing) |
| 12 - (BOOL)isForwardButtonEnabled; | 18 - (BOOL)isForwardButtonEnabled; |
| 13 - (BOOL)isBackButtonEnabled; | 19 - (BOOL)isBackButtonEnabled; |
| 14 - (BOOL)isStarButtonSelected; | 20 - (BOOL)isStarButtonSelected; |
| 15 - (void)setUnitTesting:(BOOL)unitTesting; | 21 - (void)setUnitTesting:(BOOL)unitTesting; |
| 16 - (CGFloat)loadProgressFraction; | 22 - (CGFloat)loadProgressFraction; |
| 17 - (std::string)getLocationText; | 23 - (std::string)getLocationText; |
| 18 - (BOOL)isLoading; | 24 - (BOOL)isLoading; |
| 19 - (BOOL)isPrerenderAnimationRunning; | 25 - (BOOL)isPrerenderAnimationRunning; |
| 20 - (OmniboxTextFieldIOS*)omnibox; | 26 - (OmniboxTextFieldIOS*)omnibox; |
| 21 @end | 27 @end |
| 22 | 28 |
| 23 #endif // IOS_CHROME_BROWSER_UI_TOOLBAR_WEB_TOOLBAR_CONTROLLER_PRIVATE_H_ | 29 #endif // IOS_CHROME_BROWSER_UI_TOOLBAR_WEB_TOOLBAR_CONTROLLER_PRIVATE_H_ |
| OLD | NEW |