Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(215)

Side by Side Diff: ios/chrome/browser/ui/print/print_controller.h

Issue 2589803002: Upstream Chrome on iOS source code [6/11]. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef IOS_CHROME_BROWSER_UI_PRINT_PRINT_CONTROLLER_H_
6 #define IOS_CHROME_BROWSER_UI_PRINT_PRINT_CONTROLLER_H_
7
8 #import <UIKit/UIKit.h>
9
10 #include "base/memory/ref_counted.h"
11
12 namespace net {
13 class URLRequestContextGetter;
14 } // namespace net
15
16 // Interface for printing.
17 @interface PrintController : NSObject
18
19 - (instancetype)initWithContextGetter:
20 (scoped_refptr<net::URLRequestContextGetter>)getter
21 NS_DESIGNATED_INITIALIZER;
22
23 - (instancetype)init NS_UNAVAILABLE;
24
25 // Shows print UI for |view| with |title| on |viewController|.
26 - (void)printView:(UIView*)view
27 withTitle:(NSString*)title
28 viewController:(UIViewController*)viewController;
29
30 // Dismisses the print dialog with animation if |animated|.
31 - (void)dismissAnimated:(BOOL)animated;
32
33 @end
34
35 #endif // IOS_CHROME_BROWSER_UI_PRINT_PRINT_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/presenters/menu_presentation_delegate.h ('k') | ios/chrome/browser/ui/print/print_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698