blob: 34fc3b09508b64907e36d6ed98b7d5424ee4c235 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// Copyright 2018 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 CHROME_BROWSER_PRINTING_PRINT_TEST_UTILS_H_
#define CHROME_BROWSER_PRINTING_PRINT_TEST_UTILS_H_
#include "chrome/browser/ui/webui/print_preview/print_preview_handler.h"
namespace base {
class Value;
}
namespace printing {
extern const char kDummyPrinterName[];
const int kTestPrinterDpi = 600;
// Creates a print ticket with some default values. Based on ticket creation in
// chrome/browser/resources/print_preview/native_layer.js.
base::Value GetPrintTicket(PrinterType type);
} // namespace printing
#endif // CHROME_BROWSER_PRINTING_PRINT_TEST_UTILS_H_
|