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

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

Issue 1026223002: OOP PDF: Do not call setZoom in response to an onZoomChange event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months 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
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 "base/base_paths.h" 5 #include "base/base_paths.h"
6 #include "base/files/file_util.h" 6 #include "base/files/file_util.h"
7 #include "base/path_service.h" 7 #include "base/path_service.h"
8 #include "chrome/browser/extensions/component_loader.h" 8 #include "chrome/browser/extensions/component_loader.h"
9 #include "chrome/browser/extensions/extension_apitest.h" 9 #include "chrome/browser/extensions/extension_apitest.h"
10 #include "chrome/browser/extensions/extension_service.h" 10 #include "chrome/browser/extensions/extension_service.h"
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 RunTestsInFile("bookmarks_test.js", "test-bookmarks.pdf"); 100 RunTestsInFile("bookmarks_test.js", "test-bookmarks.pdf");
101 } 101 }
102 102
103 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, Navigator) { 103 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, Navigator) {
104 RunTestsInFile("navigator_test.js", "test.pdf"); 104 RunTestsInFile("navigator_test.js", "test.pdf");
105 } 105 }
106 106
107 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, ParamsParser) { 107 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, ParamsParser) {
108 RunTestsInFile("params_parser_test.js", "test.pdf"); 108 RunTestsInFile("params_parser_test.js", "test.pdf");
109 } 109 }
110
111 IN_PROC_BROWSER_TEST_F(PDFExtensionTest, ZoomManager) {
112 RunTestsInFile("zoom_manager_test.js", "test.pdf");
113 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/component_extension_resources.grd » ('j') | chrome/browser/resources/pdf/pdf.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698