| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <stddef.h> |
| 6 |
| 5 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/macros.h" |
| 6 #include "base/run_loop.h" | 9 #include "base/run_loop.h" |
| 10 #include "build/build_config.h" |
| 7 #include "components/printing/common/print_messages.h" | 11 #include "components/printing/common/print_messages.h" |
| 8 #include "components/printing/renderer/print_web_view_helper.h" | 12 #include "components/printing/renderer/print_web_view_helper.h" |
| 9 #include "components/printing/test/mock_printer.h" | 13 #include "components/printing/test/mock_printer.h" |
| 10 #include "components/printing/test/print_mock_render_thread.h" | 14 #include "components/printing/test/print_mock_render_thread.h" |
| 11 #include "components/printing/test/print_test_content_renderer_client.h" | 15 #include "components/printing/test/print_test_content_renderer_client.h" |
| 12 #include "content/public/renderer/render_view.h" | 16 #include "content/public/renderer/render_view.h" |
| 13 #include "content/public/test/render_view_test.h" | 17 #include "content/public/test/render_view_test.h" |
| 14 #include "ipc/ipc_listener.h" | 18 #include "ipc/ipc_listener.h" |
| 15 #include "printing/print_job_constants.h" | 19 #include "printing/print_job_constants.h" |
| 16 #include "testing/gtest/include/gtest/gtest.h" | 20 #include "testing/gtest/include/gtest/gtest.h" |
| (...skipping 1012 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1029 CreatePrintSettingsDictionary(&dict); | 1033 CreatePrintSettingsDictionary(&dict); |
| 1030 OnPrintForPrintPreview(dict); | 1034 OnPrintForPrintPreview(dict); |
| 1031 | 1035 |
| 1032 VerifyPrintFailed(true); | 1036 VerifyPrintFailed(true); |
| 1033 VerifyPagesPrinted(false); | 1037 VerifyPagesPrinted(false); |
| 1034 } | 1038 } |
| 1035 | 1039 |
| 1036 #endif // !defined(OS_CHROMEOS) | 1040 #endif // !defined(OS_CHROMEOS) |
| 1037 | 1041 |
| 1038 } // namespace printing | 1042 } // namespace printing |
| OLD | NEW |