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

Side by Side Diff: chrome/renderer/print_web_view_helper_browsertest.cc

Issue 7537033: Move more files from chrome/test to chrome/test/base, part #5 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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 | Annotate | Revision Log
OLDNEW
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 "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 #include "chrome/common/print_messages.h" 6 #include "chrome/common/print_messages.h"
7 #include "chrome/renderer/print_web_view_helper.h" 7 #include "chrome/renderer/print_web_view_helper.h"
8 #include "chrome/test/render_view_test.h" 8 #include "chrome/test/base/render_view_test.h"
9 #include "printing/print_job_constants.h" 9 #include "printing/print_job_constants.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
14 14
15 #if defined(OS_WIN) || defined(OS_MACOSX) 15 #if defined(OS_WIN) || defined(OS_MACOSX)
16 #include "base/file_util.h" 16 #include "base/file_util.h"
17 #include "printing/image.h" 17 #include "printing/image.h"
18 18
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 LoadHTML(kPrintPreviewHTML); 401 LoadHTML(kPrintPreviewHTML);
402 402
403 // An empty dictionary should fail. 403 // An empty dictionary should fail.
404 DictionaryValue empty_dict; 404 DictionaryValue empty_dict;
405 PrintWebViewHelper::Get(view_)->OnPrintForPrintPreview(empty_dict); 405 PrintWebViewHelper::Get(view_)->OnPrintForPrintPreview(empty_dict);
406 406
407 VerifyPrintFailed(true); 407 VerifyPrintFailed(true);
408 VerifyPagesPrinted(false); 408 VerifyPagesPrinted(false);
409 } 409 }
410 #endif // !defined(OS_CHROMEOS) 410 #endif // !defined(OS_CHROMEOS)
OLDNEW
« no previous file with comments | « chrome/renderer/page_click_tracker_browsertest.cc ('k') | chrome/renderer/safe_browsing/malware_dom_details_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698