| Index: ios/shared/chrome/browser/ui/omnibox/location_bar_delegate.h
|
| diff --git a/ios/shared/chrome/browser/ui/omnibox/location_bar_delegate.h b/ios/shared/chrome/browser/ui/omnibox/location_bar_delegate.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b61567a367fb4330ac86338592877c651bf99886
|
| --- /dev/null
|
| +++ b/ios/shared/chrome/browser/ui/omnibox/location_bar_delegate.h
|
| @@ -0,0 +1,29 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef IOS_SHARED_CHROME_BROWSER_UI_OMNIBOX_LOCATION_BAR_DELEGATE_H_
|
| +#define IOS_SHARED_CHROME_BROWSER_UI_OMNIBOX_LOCATION_BAR_DELEGATE_H_
|
| +
|
| +#import <Foundation/Foundation.h>
|
| +
|
| +namespace web {
|
| +class WebState;
|
| +}
|
| +
|
| +class ToolbarModel;
|
| +
|
| +// Delegate for LocationBarController objects. Used to provide the location bar
|
| +// a way to open URLs and otherwise interact with the browser.
|
| +@protocol LocationBarDelegate
|
| +- (void)loadGURLFromLocationBar:(const GURL&)url
|
| + transition:(ui::PageTransition)transition;
|
| +- (void)locationBarHasBecomeFirstResponder;
|
| +- (void)locationBarHasResignedFirstResponder;
|
| +- (void)locationBarBeganEdit;
|
| +- (void)locationBarChanged;
|
| +- (web::WebState*)getWebState;
|
| +- (ToolbarModel*)toolbarModel;
|
| +@end
|
| +
|
| +#endif // IOS_SHARED_CHROME_BROWSER_UI_OMNIBOX_LOCATION_BAR_DELEGATE_H_
|
|
|