blob: b873f304312e0a524225b8f005c8626b459b4708 [file] [log] [blame]
// Copyright 2012 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_PRINT_PRINT_CONTROLLER_H_
#define IOS_CHROME_BROWSER_UI_PRINT_PRINT_CONTROLLER_H_
#import <UIKit/UIKit.h>
#import "ios/chrome/browser/web/web_state_printer.h"
// Interface for printing.
@interface PrintController : NSObject <WebStatePrinter>
// Shows print UI for |view| with |title|.
- (void)printView:(UIView*)view withTitle:(NSString*)title;
// Dismisses the print dialog with animation if |animated|.
- (void)dismissAnimated:(BOOL)animated;
@end
#endif // IOS_CHROME_BROWSER_UI_PRINT_PRINT_CONTROLLER_H_