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

Side by Side Diff: printing/print_settings.cc

Issue 24989002: Cleanup: Use base namespace in printing/. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 2 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 | « printing/print_settings.h ('k') | printing/print_settings_initializer.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "printing/print_settings.h" 5 #include "printing/print_settings.h"
6 6
7 #include "base/atomic_sequence_num.h" 7 #include "base/atomic_sequence_num.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "printing/print_job_constants.h" 9 #include "printing/print_job_constants.h"
10 #include "printing/units.h" 10 #include "printing/units.h"
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 125
126 PrintSettings::~PrintSettings() { 126 PrintSettings::~PrintSettings() {
127 } 127 }
128 128
129 void PrintSettings::Clear() { 129 void PrintSettings::Clear() {
130 ranges.clear(); 130 ranges.clear();
131 min_shrink = 1.25; 131 min_shrink = 1.25;
132 max_shrink = 2.; 132 max_shrink = 2.;
133 desired_dpi = 72; 133 desired_dpi = 72;
134 selection_only = false; 134 selection_only = false;
135 date = string16(); 135 date = base::string16();
136 title = string16(); 136 title = base::string16();
137 url = string16(); 137 url = base::string16();
138 display_header_footer = false; 138 display_header_footer = false;
139 printer_name_.clear(); 139 printer_name_.clear();
140 device_name_.clear(); 140 device_name_.clear();
141 page_setup_device_units_.Clear(); 141 page_setup_device_units_.Clear();
142 dpi_ = 0; 142 dpi_ = 0;
143 landscape_ = false; 143 landscape_ = false;
144 supports_alpha_blend_ = true; 144 supports_alpha_blend_ = true;
145 should_print_backgrounds = false; 145 should_print_backgrounds = false;
146 } 146 }
147 147
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 } 243 }
244 244
245 void PrintSettings::SetOrientation(bool landscape) { 245 void PrintSettings::SetOrientation(bool landscape) {
246 if (landscape_ != landscape) { 246 if (landscape_ != landscape) {
247 landscape_ = landscape; 247 landscape_ = landscape;
248 page_setup_device_units_.FlipOrientation(); 248 page_setup_device_units_.FlipOrientation();
249 } 249 }
250 } 250 }
251 251
252 } // namespace printing 252 } // namespace printing
OLDNEW
« no previous file with comments | « printing/print_settings.h ('k') | printing/print_settings_initializer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698