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 "base/command_line.h" | 5 #include "base/command_line.h" |
6 #include "base/files/file_enumerator.h" | 6 #include "base/files/file_enumerator.h" |
7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
8 #include "base/files/file_util.h" | 8 #include "base/files/file_util.h" |
| 9 #include "base/macros.h" |
9 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
10 #include "base/path_service.h" | 11 #include "base/path_service.h" |
11 #include "base/process/process_handle.h" | 12 #include "base/process/process_handle.h" |
12 #include "base/strings/string_util.h" | 13 #include "base/strings/string_util.h" |
13 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
14 #include "base/test/test_file_util.h" | 15 #include "base/test/test_file_util.h" |
15 #include "base/threading/simple_thread.h" | 16 #include "base/threading/simple_thread.h" |
16 #include "chrome/browser/chrome_notification_types.h" | 17 #include "chrome/browser/chrome_notification_types.h" |
17 #include "chrome/browser/printing/print_job.h" | 18 #include "chrome/browser/printing/print_job.h" |
18 #include "chrome/browser/printing/print_view_manager.h" | 19 #include "chrome/browser/printing/print_view_manager.h" |
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 | 463 |
463 // Force a navigation elsewhere to verify that it's fine with it. | 464 // Force a navigation elsewhere to verify that it's fine with it. |
464 url = embedded_test_server()->GetURL("/printing/test1.html"); | 465 url = embedded_test_server()->GetURL("/printing/test1.html"); |
465 ui_test_utils::NavigateToURL(browser(), url); | 466 ui_test_utils::NavigateToURL(browser(), url); |
466 } | 467 } |
467 chrome::CloseWindow(browser()); | 468 chrome::CloseWindow(browser()); |
468 content::RunAllPendingInMessageLoop(); | 469 content::RunAllPendingInMessageLoop(); |
469 | 470 |
470 EXPECT_EQ(0., CompareWithResult(L"iframe")) << L"iframe"; | 471 EXPECT_EQ(0., CompareWithResult(L"iframe")) << L"iframe"; |
471 } | 472 } |
OLD | NEW |