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

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

Issue 7550022: Print Preview: Fixing behavior of event listeners. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressing comments 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
« no previous file with comments | « chrome/common/print_messages.h ('k') | chrome/renderer/mock_printer.cc » ('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 (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 #ifndef CHROME_RENDERER_MOCK_PRINTER_H_ 5 #ifndef CHROME_RENDERER_MOCK_PRINTER_H_
6 #define CHROME_RENDERER_MOCK_PRINTER_H_ 6 #define CHROME_RENDERER_MOCK_PRINTER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 // Cookie for the document to ensure correctness. 122 // Cookie for the document to ensure correctness.
123 int document_cookie_; 123 int document_cookie_;
124 int current_document_cookie_; 124 int current_document_cookie_;
125 125
126 // The current status of this printer. 126 // The current status of this printer.
127 Status printer_status_; 127 Status printer_status_;
128 128
129 // The output of a printing job. 129 // The output of a printing job.
130 int number_pages_; 130 int number_pages_;
131 int page_number_; 131 int page_number_;
132
133 // Used only in the preview sequence.
134 bool is_first_request_;
135 int preview_request_id_;
136
132 std::vector<scoped_refptr<MockPrinterPage> > pages_; 137 std::vector<scoped_refptr<MockPrinterPage> > pages_;
133 138
134 DISALLOW_COPY_AND_ASSIGN(MockPrinter); 139 DISALLOW_COPY_AND_ASSIGN(MockPrinter);
135 }; 140 };
136 141
137 #endif // CHROME_RENDERER_MOCK_PRINTER_H_ 142 #endif // CHROME_RENDERER_MOCK_PRINTER_H_
OLDNEW
« no previous file with comments | « chrome/common/print_messages.h ('k') | chrome/renderer/mock_printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698