blob: 83a526d45e9ee2f92ab0e7483155dfbc47723961 [file] [log] [blame]
// 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_CHROME_BROWSER_UI_OMNIBOX_POPUP_OMNIBOX_POPUP_PROVIDER_H_
#define IOS_CHROME_BROWSER_UI_OMNIBOX_POPUP_OMNIBOX_POPUP_PROVIDER_H_
#import <UIKit/UIKit.h>
// An interface for a provider of an omnibox popup. Allows to get information
// about the state of and configure the popup.
class OmniboxPopupProvider {
public:
virtual bool IsPopupOpen() = 0;
virtual void SetTextAlignment(NSTextAlignment alignment) = 0;
virtual void SetSemanticContentAttribute(
UISemanticContentAttribute semanticContentAttrbute) = 0;
};
#endif // IOS_CHROME_BROWSER_UI_OMNIBOX_POPUP_OMNIBOX_POPUP_PROVIDER_H_