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

Side by Side Diff: ios/chrome/browser/ui/toolbar/web_toolbar_controller_private.h

Issue 2796793003: [ios] Adds a LocationBarController interface. (Closed)
Patch Set: Review. Created 3 years, 8 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
OLDNEW
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_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/toolbar/web_toolbar_controller.mm ('k') | ios/shared/chrome/browser/ui/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698