blob: 6b0ccd995ad3efe5f2e6444c30c55d058773a0eb [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_URL_LOADER_H_
#define IOS_CHROME_BROWSER_UI_LOCATION_BAR_LOCATION_BAR_URL_LOADER_H_
#import <Foundation/Foundation.h>
#include "components/search_engines/template_url.h"
#include "ui/base/page_transition_types.h"
#include "ui/base/window_open_disposition.h"
class GURL;
// A means of loading URLs for the location bar.
@protocol LocationBarURLLoader
- (void)loadGURLFromLocationBar:(const GURL&)url
postContent:(TemplateURLRef::PostContent*)postContent
transition:(ui::PageTransition)transition
disposition:(WindowOpenDisposition)disposition;
@end
#endif // IOS_CHROME_BROWSER_UI_LOCATION_BAR_LOCATION_BAR_URL_LOADER_H_