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

Side by Side Diff: ios/shared/chrome/browser/ui/omnibox/location_bar_delegate.h

Issue 2761343002: [ios] Adds LocationBarCoordinator. (Closed)
Patch Set: Rebased. 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
« no previous file with comments | « ios/shared/chrome/browser/ui/omnibox/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 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 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_SHARED_CHROME_BROWSER_UI_OMNIBOX_LOCATION_BAR_DELEGATE_H_ 5 #ifndef IOS_SHARED_CHROME_BROWSER_UI_OMNIBOX_LOCATION_BAR_DELEGATE_H_
6 #define IOS_SHARED_CHROME_BROWSER_UI_OMNIBOX_LOCATION_BAR_DELEGATE_H_ 6 #define IOS_SHARED_CHROME_BROWSER_UI_OMNIBOX_LOCATION_BAR_DELEGATE_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 9
10 #include "ui/base/page_transition_types.h"
11
12 class GURL;
13 class ToolbarModel;
14
10 namespace web { 15 namespace web {
11 class WebState; 16 class WebState;
12 } 17 }
13 18
14 class ToolbarModel;
15
16 // Delegate for LocationBarController objects. Used to provide the location bar 19 // Delegate for LocationBarController objects. Used to provide the location bar
17 // a way to open URLs and otherwise interact with the browser. 20 // a way to open URLs and otherwise interact with the browser.
18 @protocol LocationBarDelegate 21 @protocol LocationBarDelegate
19 - (void)loadGURLFromLocationBar:(const GURL&)url 22 - (void)loadGURLFromLocationBar:(const GURL&)url
20 transition:(ui::PageTransition)transition; 23 transition:(ui::PageTransition)transition;
21 - (void)locationBarHasBecomeFirstResponder; 24 - (void)locationBarHasBecomeFirstResponder;
22 - (void)locationBarHasResignedFirstResponder; 25 - (void)locationBarHasResignedFirstResponder;
23 - (void)locationBarBeganEdit; 26 - (void)locationBarBeganEdit;
24 - (void)locationBarChanged; 27 - (void)locationBarChanged;
25 - (web::WebState*)getWebState; 28 - (web::WebState*)getWebState;
26 - (ToolbarModel*)toolbarModel; 29 - (ToolbarModel*)toolbarModel;
27 @end 30 @end
28 31
29 #endif // IOS_SHARED_CHROME_BROWSER_UI_OMNIBOX_LOCATION_BAR_DELEGATE_H_ 32 #endif // IOS_SHARED_CHROME_BROWSER_UI_OMNIBOX_LOCATION_BAR_DELEGATE_H_
OLDNEW
« no previous file with comments | « ios/shared/chrome/browser/ui/omnibox/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698