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

Side by Side Diff: chrome/renderer/printing/mock_printer.h

Issue 823133004: Cleanup: Update the path to gfx rect headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rect_f.h 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 #ifndef CHROME_RENDERER_PRINTING_MOCK_PRINTER_H_ 5 #ifndef CHROME_RENDERER_PRINTING_MOCK_PRINTER_H_
6 #define CHROME_RENDERER_PRINTING_MOCK_PRINTER_H_ 6 #define CHROME_RENDERER_PRINTING_MOCK_PRINTER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/strings/string16.h" 14 #include "base/strings/string16.h"
15 #include "printing/image.h" 15 #include "printing/image.h"
16 #include "third_party/WebKit/public/web/WebPrintScalingOption.h" 16 #include "third_party/WebKit/public/web/WebPrintScalingOption.h"
17 #include "ui/gfx/rect.h" 17 #include "ui/gfx/geometry/rect.h"
18 #include "ui/gfx/size.h" 18 #include "ui/gfx/size.h"
19 19
20 struct PrintMsg_Print_Params; 20 struct PrintMsg_Print_Params;
21 struct PrintMsg_PrintPages_Params; 21 struct PrintMsg_PrintPages_Params;
22 struct PrintHostMsg_DidPrintPage_Params; 22 struct PrintHostMsg_DidPrintPage_Params;
23 23
24 // A class which represents an output page used in the MockPrinter class. 24 // A class which represents an output page used in the MockPrinter class.
25 // The MockPrinter class stores output pages in a vector, so, this class 25 // The MockPrinter class stores output pages in a vector, so, this class
26 // inherits the base::RefCounted<> class so that the MockPrinter class can use 26 // inherits the base::RefCounted<> class so that the MockPrinter class can use
27 // a smart pointer of this object (i.e. scoped_refptr<>). 27 // a smart pointer of this object (i.e. scoped_refptr<>).
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 157
158 // Used for generating invalid settings. 158 // Used for generating invalid settings.
159 bool use_invalid_settings_; 159 bool use_invalid_settings_;
160 160
161 std::vector<scoped_refptr<MockPrinterPage> > pages_; 161 std::vector<scoped_refptr<MockPrinterPage> > pages_;
162 162
163 DISALLOW_COPY_AND_ASSIGN(MockPrinter); 163 DISALLOW_COPY_AND_ASSIGN(MockPrinter);
164 }; 164 };
165 165
166 #endif // CHROME_RENDERER_PRINTING_MOCK_PRINTER_H_ 166 #endif // CHROME_RENDERER_PRINTING_MOCK_PRINTER_H_
OLDNEW
« no previous file with comments | « chrome/renderer/pepper/pepper_flash_renderer_host.cc ('k') | chrome/test/base/find_in_page_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698