| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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/file_util.h" | 6 #include "base/file_util.h" |
| 7 #include "base/simple_thread.h" | 7 #include "base/simple_thread.h" |
| 8 #include "base/test/test_file_util.h" | 8 #include "base/test/test_file_util.h" |
| 9 #include "base/win_util.h" | |
| 10 #include "chrome/common/chrome_paths.h" | 9 #include "chrome/common/chrome_paths.h" |
| 11 #include "chrome/test/automation/browser_proxy.h" | 10 #include "chrome/test/automation/browser_proxy.h" |
| 12 #include "chrome/test/automation/tab_proxy.h" | 11 #include "chrome/test/automation/tab_proxy.h" |
| 13 #include "chrome/test/automation/window_proxy.h" | 12 #include "chrome/test/automation/window_proxy.h" |
| 14 #include "chrome/test/ui/ui_test.h" | 13 #include "chrome/test/ui/ui_test.h" |
| 15 #include "gfx/gdi_util.h" | 14 #include "gfx/gdi_util.h" |
| 16 #include "net/test/test_server.h" | 15 #include "net/test/test_server.h" |
| 17 #include "printing/image.h" | 16 #include "printing/image.h" |
| 18 #include "printing/printing_test.h" | 17 #include "printing/printing_test.h" |
| 19 #include "printing/native_metafile.h" | 18 #include "printing/native_metafile.h" |
| (...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 427 | 426 |
| 428 // Force a navigation elsewhere to verify that it's fine with it. | 427 // Force a navigation elsewhere to verify that it's fine with it. |
| 429 url = server->TestServerPage("files/printing/test1.html"); | 428 url = server->TestServerPage("files/printing/test1.html"); |
| 430 EXPECT_EQ(AUTOMATION_MSG_NAVIGATION_SUCCESS, | 429 EXPECT_EQ(AUTOMATION_MSG_NAVIGATION_SUCCESS, |
| 431 tab_proxy->NavigateToURL(url)); | 430 tab_proxy->NavigateToURL(url)); |
| 432 } | 431 } |
| 433 CloseBrowserAndServer(); | 432 CloseBrowserAndServer(); |
| 434 | 433 |
| 435 EXPECT_EQ(0., CompareWithResult(L"iframe")) << L"iframe"; | 434 EXPECT_EQ(0., CompareWithResult(L"iframe")) << L"iframe"; |
| 436 } | 435 } |
| OLD | NEW |