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

Side by Side Diff: printing/printing_context_gtk.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/printing_context_gtk.h ('k') | printing/printing_context_mac.h » ('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/printing_context_gtk.h" 5 #include "printing/printing_context_gtk.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 #include <gtk/gtkunixprint.h> 8 #include <gtk/gtkunixprint.h>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 PrintingContext::Result PrintingContextGtk::InitWithSettings( 96 PrintingContext::Result PrintingContextGtk::InitWithSettings(
97 const PrintSettings& settings) { 97 const PrintSettings& settings) {
98 DCHECK(!in_print_job_); 98 DCHECK(!in_print_job_);
99 99
100 settings_ = settings; 100 settings_ = settings;
101 101
102 return OK; 102 return OK;
103 } 103 }
104 104
105 PrintingContext::Result PrintingContextGtk::NewDocument( 105 PrintingContext::Result PrintingContextGtk::NewDocument(
106 const string16& document_name) { 106 const base::string16& document_name) {
107 DCHECK(!in_print_job_); 107 DCHECK(!in_print_job_);
108 in_print_job_ = true; 108 in_print_job_ = true;
109 109
110 document_name_ = document_name; 110 document_name_ = document_name;
111 111
112 return OK; 112 return OK;
113 } 113 }
114 114
115 PrintingContext::Result PrintingContextGtk::NewPage() { 115 PrintingContext::Result PrintingContextGtk::NewPage() {
116 if (abort_printing_) 116 if (abort_printing_)
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 // Intentional No-op. 150 // Intentional No-op.
151 } 151 }
152 152
153 gfx::NativeDrawingContext PrintingContextGtk::context() const { 153 gfx::NativeDrawingContext PrintingContextGtk::context() const {
154 // Intentional No-op. 154 // Intentional No-op.
155 return NULL; 155 return NULL;
156 } 156 }
157 157
158 } // namespace printing 158 } // namespace printing
159 159
OLDNEW
« no previous file with comments | « printing/printing_context_gtk.h ('k') | printing/printing_context_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698