chromium/ios/chrome/browser/ui/omnibox/keyboard_assist/omnibox_assistive_keyboard_delegate.h

// Copyright 2017 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_UI_OMNIBOX_KEYBOARD_ASSIST_OMNIBOX_ASSISTIVE_KEYBOARD_DELEGATE_H_
#define IOS_CHROME_BROWSER_UI_OMNIBOX_KEYBOARD_ASSIST_OMNIBOX_ASSISTIVE_KEYBOARD_DELEGATE_H_

#import <UIKit/UIKit.h>

@class LayoutGuideCenter;

// Delegate protocol for the KeyboardAccessoryView.
@protocol OmniboxAssistiveKeyboardDelegate

// The layout guide center for the current scene.
@property(nonatomic, strong) LayoutGuideCenter* layoutGuideCenter;

// The lens button, which may be nil.
@property(nonatomic, strong) UIButton* lensButton;

// Notifies the delegate that the Voice Search button was tapped.
- (void)keyboardAccessoryVoiceSearchTapped:(id)sender;

// Notifies the delegate that the Camera Search button was tapped.
- (void)keyboardAccessoryCameraSearchTapped;

// Notifies the delegate that the Lens button was tapped.
- (void)keyboardAccessoryLensTapped;

// Notifies the delegate that the Debugger button was tapped.
- (void)keyboardAccessoryDebuggerTapped;

// Notifies the delegate that a key with the title `title` was pressed.
- (void)keyPressed:(NSString*)title;

@end

#endif  // IOS_CHROME_BROWSER_UI_OMNIBOX_KEYBOARD_ASSIST_OMNIBOX_ASSISTIVE_KEYBOARD_DELEGATE_H_