blob: 4dbdccc277175f9397b43ca34179dcb015d7259e [file] [log] [blame]
// Copyright 2018 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_CHROME_BROWSER_UI_LOCATION_BAR_LOCATION_BAR_CONSUMER_H_
#define IOS_CHROME_BROWSER_UI_LOCATION_BAR_LOCATION_BAR_CONSUMER_H_
// Consumer for the location bar mediator.
@protocol LocationBarConsumer
// Notifies the consumer to update the location text.
- (void)updateLocationText:(NSString*)string;
// Notifies the consumer to update the location icon.
- (void)updateLocationIcon:(UIImage*)icon;
// Notifies consumer to defocus the omnibox (for example on tab change).
- (void)defocusOmnibox;
@end
#endif // IOS_CHROME_BROWSER_UI_LOCATION_BAR_LOCATION_BAR_CONSUMER_H_