Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Side by Side Diff: chrome/browser/pdf/pdf_extension_test.cc

Issue 1527453002: PDF: Remove 'material' from file and variable names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pdf_remove_non_material
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/component_extension_resources.grd » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <vector> 5 #include <vector>
6 6
7 #include "base/base_paths.h" 7 #include "base/base_paths.h"
8 #include "base/files/file_enumerator.h" 8 #include "base/files/file_enumerator.h"
9 #include "base/files/file_util.h" 9 #include "base/files/file_util.h"
10 #include "base/hash.h" 10 #include "base/hash.h"
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 ASSERT_EQ(1u, downloads.size()); 307 ASSERT_EQ(1u, downloads.size());
308 downloads[0]->Cancel(false); 308 downloads[0]->Cancel(false);
309 } 309 }
310 310
311 // We break PDFTest.Load up into kNumberLoadTestParts. 311 // We break PDFTest.Load up into kNumberLoadTestParts.
312 INSTANTIATE_TEST_CASE_P(PDFTestFiles, 312 INSTANTIATE_TEST_CASE_P(PDFTestFiles,
313 PDFExtensionTest, 313 PDFExtensionTest,
314 testing::Range(0, kNumberLoadTestParts)); 314 testing::Range(0, kNumberLoadTestParts));
315 315
316 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, Basic) { 316 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, Basic) {
317 RunTestsInFile("basic_test_material.js", "test.pdf"); 317 RunTestsInFile("basic_test.js", "test.pdf");
318 } 318 }
319 319
320 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, BasicPlugin) { 320 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, BasicPlugin) {
321 RunTestsInFile("basic_plugin_test.js", "test.pdf"); 321 RunTestsInFile("basic_plugin_test.js", "test.pdf");
322 } 322 }
323 323
324 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, Viewport) { 324 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, Viewport) {
325 RunTestsInFile("viewport_test.js", "test.pdf"); 325 RunTestsInFile("viewport_test.js", "test.pdf");
326 } 326 }
327 327
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 #endif 501 #endif
502 ASSERT_TRUE( 502 ASSERT_TRUE(
503 content::ExecuteScript(guest_contents, "viewer.viewport.zoomIn();")); 503 content::ExecuteScript(guest_contents, "viewer.viewport.zoomIn();"));
504 504
505 watcher.Wait(); 505 watcher.Wait();
506 #if defined(TOOLKIT_VIEWS) && !defined(OS_MACOSX) 506 #if defined(TOOLKIT_VIEWS) && !defined(OS_MACOSX)
507 EXPECT_EQ(nullptr, ZoomBubbleView::GetZoomBubble()); 507 EXPECT_EQ(nullptr, ZoomBubbleView::GetZoomBubble());
508 #endif 508 #endif
509 } 509 }
510 510
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/component_extension_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698