blob: 4c7607f24c5dff53eb210c49f25fd08531f704e3 [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_COMMANDS_PAGE_INFO_COMMANDS_H_
#define IOS_CHROME_BROWSER_UI_COMMANDS_PAGE_INFO_COMMANDS_H_
#include <CoreGraphics/CoreGraphics.h>
#import <Foundation/Foundation.h>
// Commands related to the Page Info UI.
@protocol PageInfoCommands
// Show the page security info. |originPoint| is the midpoint of the UI element
// which triggered this command and should be in window coordinates.
- (void)showPageInfoForOriginPoint:(CGPoint)originPoint;
// Hide the page security info.
- (void)hidePageInfo;
// Show the security help page.
- (void)showSecurityHelpPage;
@end
#endif // IOS_CHROME_BROWSER_UI_COMMANDS_PAGE_INFO_COMMANDS_H_