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

Side by Side Diff: chrome/browser/printing/print_preview_pdf_generated_browsertest.cc

Issue 811563008: Moving files from //chrome to //components/printing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit fix Created 5 years, 11 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 <algorithm> 5 #include <algorithm>
6 #include <fstream> 6 #include <fstream>
7 #include <iostream> 7 #include <iostream>
8 #include <iterator> 8 #include <iterator>
9 #include <limits> 9 #include <limits>
10 #include <string> 10 #include <string>
(...skipping 13 matching lines...) Expand all
24 #include "base/run_loop.h" 24 #include "base/run_loop.h"
25 #include "base/scoped_native_library.h" 25 #include "base/scoped_native_library.h"
26 #include "base/strings/string_split.h" 26 #include "base/strings/string_split.h"
27 #include "base/strings/utf_string_conversions.h" 27 #include "base/strings/utf_string_conversions.h"
28 #include "chrome/browser/printing/print_preview_dialog_controller.h" 28 #include "chrome/browser/printing/print_preview_dialog_controller.h"
29 #include "chrome/browser/ui/browser.h" 29 #include "chrome/browser/ui/browser.h"
30 #include "chrome/browser/ui/browser_commands.h" 30 #include "chrome/browser/ui/browser_commands.h"
31 #include "chrome/browser/ui/tabs/tab_strip_model.h" 31 #include "chrome/browser/ui/tabs/tab_strip_model.h"
32 #include "chrome/browser/ui/webui/print_preview/print_preview_ui.h" 32 #include "chrome/browser/ui/webui/print_preview/print_preview_ui.h"
33 #include "chrome/common/chrome_paths.h" 33 #include "chrome/common/chrome_paths.h"
34 #include "chrome/common/print_messages.h"
35 #include "chrome/test/base/in_process_browser_test.h" 34 #include "chrome/test/base/in_process_browser_test.h"
36 #include "chrome/test/base/ui_test_utils.h" 35 #include "chrome/test/base/ui_test_utils.h"
36 #include "components/printing/common/print_messages.h"
37 #include "content/public/browser/web_contents.h" 37 #include "content/public/browser/web_contents.h"
38 #include "content/public/browser/web_ui_message_handler.h" 38 #include "content/public/browser/web_ui_message_handler.h"
39 #include "content/public/test/browser_test_utils.h" 39 #include "content/public/test/browser_test_utils.h"
40 #include "ipc/ipc_message_macros.h" 40 #include "ipc/ipc_message_macros.h"
41 #include "net/base/filename_util.h" 41 #include "net/base/filename_util.h"
42 #include "printing/pdf_render_settings.h" 42 #include "printing/pdf_render_settings.h"
43 #include "printing/units.h" 43 #include "printing/units.h"
44 #include "ui/gfx/codec/png_codec.h" 44 #include "ui/gfx/codec/png_codec.h"
45 #include "ui/gfx/geometry/rect.h" 45 #include "ui/gfx/geometry/rect.h"
46 #include "url/gurl.h" 46 #include "url/gurl.h"
(...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 // waiting for this message and start waiting for the image data. 693 // waiting for this message and start waiting for the image data.
694 std::cout << "#EOF\n"; 694 std::cout << "#EOF\n";
695 std::cout.flush(); 695 std::cout.flush();
696 696
697 SendPng(); 697 SendPng();
698 Reset(); 698 Reset();
699 } 699 }
700 } 700 }
701 701
702 } // namespace printing 702 } // namespace printing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698