[go: nahoru, domu]

blob: 0268635833407c9e20edad75bdb3b5a38c67451c [file] [log] [blame]
sammc3d0df3a2014-11-24 21:25:381// Copyright 2014 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 CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_COMMON_H_
6#define CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_COMMON_H_
7
Brett Wilson65f951c2016-11-03 22:06:128#include "printing/features/features.h"
9
sammc3d0df3a2014-11-24 21:25:3810namespace content {
11class WebContents;
12}
13
14namespace printing {
15
16// Start printing using the appropriate PrintViewManagerBase subclass.
17void StartPrint(content::WebContents* web_contents,
18 bool print_preview_disabled,
19 bool selection_only);
20
Brett Wilson65f951c2016-11-03 22:06:1221#if BUILDFLAG(ENABLE_BASIC_PRINTING)
sammc3d0df3a2014-11-24 21:25:3822// Start printing using the system print dialog.
23void StartBasicPrint(content::WebContents* contents);
24#endif
25
26} // namespace printing
27
28#endif // CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_COMMON_H_