OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/file_util.h" | 5 #include "base/file_util.h" |
6 #include "base/path_service.h" | 6 #include "base/path_service.h" |
7 #include "base/string_number_conversions.h" | 7 #include "base/string_number_conversions.h" |
8 #include "base/string_util.h" | 8 #include "base/string_util.h" |
9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
10 #include "chrome/browser/ui/browser.h" | 10 #include "chrome/browser/ui/browser.h" |
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 ASSERT_TRUE(ui_test_utils::ExecuteJavaScript( | 339 ASSERT_TRUE(ui_test_utils::ExecuteJavaScript( |
340 browser()->GetSelectedTabContents()->render_view_host(), | 340 browser()->GetSelectedTabContents()->render_view_host(), |
341 std::wstring(), | 341 std::wstring(), |
342 L"reloadPDF();")); | 342 L"reloadPDF();")); |
343 | 343 |
344 ASSERT_TRUE(ui_test_utils::WaitForNavigationInCurrentTab(browser())); | 344 ASSERT_TRUE(ui_test_utils::WaitForNavigationInCurrentTab(browser())); |
345 ASSERT_EQ("success", browser()->GetSelectedTabContents()->GetURL().query()); | 345 ASSERT_EQ("success", browser()->GetSelectedTabContents()->GetURL().query()); |
346 } | 346 } |
347 | 347 |
348 } // namespace | 348 } // namespace |
OLD | NEW |