blob: b2e5875a114556f59b1362973f79b8d63bc70436 [file] [log] [blame]
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_OMNIBOX_MODEL_PEDAL_SUGGESTION_WRAPPER_H_
#define IOS_CHROME_BROWSER_OMNIBOX_MODEL_PEDAL_SUGGESTION_WRAPPER_H_
#import <UIKit/UIKit.h>
#import "ios/chrome/browser/omnibox/model/autocomplete_suggestion.h"
#import "ios/chrome/browser/omnibox/model/omnibox_pedal.h"
/// A wrapper for an OmniboxPedal that exposes AutocompleteSuggestion-compatible
/// API. Used to display pedals as suggestions in the popup.
@interface PedalSuggestionWrapper : NSObject <AutocompleteSuggestion>
- (instancetype)initWithPedal:(id<OmniboxPedal, OmniboxIcon>)pedal;
@end
#endif // IOS_CHROME_BROWSER_OMNIBOX_MODEL_PEDAL_SUGGESTION_WRAPPER_H_