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

Side by Side Diff: ios/shared/chrome/browser/ui/omnibox/location_bar_delegate.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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef IOS_SHARED_CHROME_BROWSER_UI_OMNIBOX_LOCATION_BAR_DELEGATE_H_
6 #define IOS_SHARED_CHROME_BROWSER_UI_OMNIBOX_LOCATION_BAR_DELEGATE_H_
7
8 #import <Foundation/Foundation.h>
9
10 namespace web {
11 class WebState;
12 }
13
14 class ToolbarModel;
15
16 // Delegate for LocationBarController objects. Used to provide the location bar
17 // a way to open URLs and otherwise interact with the browser.
18 @protocol LocationBarDelegate
19 - (void)loadGURLFromLocationBar:(const GURL&)url
20 transition:(ui::PageTransition)transition;
21 - (void)locationBarHasBecomeFirstResponder;
22 - (void)locationBarHasResignedFirstResponder;
23 - (void)locationBarBeganEdit;
24 - (void)locationBarChanged;
25 - (web::WebState*)getWebState;
26 - (ToolbarModel*)toolbarModel;
27 @end
28
29 #endif // IOS_SHARED_CHROME_BROWSER_UI_OMNIBOX_LOCATION_BAR_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698