Check USB device path access when prompting users to select a device.
[chromium-blink-merge.git] / chrome / browser / printing / print_view_manager_common.h
blob6e1064042731c79c1e0a53e42d5260082066b744
1 // 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.
5 #ifndef CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_COMMON_H_
6 #define CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_COMMON_H_
8 namespace content {
9 class WebContents;
12 namespace printing {
14 // Start printing using the appropriate PrintViewManagerBase subclass.
15 void StartPrint(content::WebContents* web_contents,
16 bool print_preview_disabled,
17 bool selection_only);
19 #if defined(ENABLE_BASIC_PRINTING)
20 // Start printing using the system print dialog.
21 void StartBasicPrint(content::WebContents* contents);
22 #endif
24 } // namespace printing
26 #endif // CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_COMMON_H_