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

Side by Side Diff: printing/metafile.h

Issue 628133002: Replacing the OVERRIDE with override and FINAL with final in /src/printing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« no previous file with comments | « printing/emf_win_unittest.cc ('k') | printing/pdf_metafile_cg_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 #ifndef PRINTING_METAFILE_H_ 5 #ifndef PRINTING_METAFILE_H_
6 #define PRINTING_METAFILE_H_ 6 #define PRINTING_METAFILE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 // Note: Windows has been known to have stack buffer overflow in its GDI 156 // Note: Windows has been known to have stack buffer overflow in its GDI
157 // functions, whether used directly or indirectly through precompiled EMF 157 // functions, whether used directly or indirectly through precompiled EMF
158 // data. We have to accept the risk here. Since it is used only for printing, 158 // data. We have to accept the risk here. Since it is used only for printing,
159 // it requires user intervention. 159 // it requires user intervention.
160 virtual bool Playback(gfx::NativeDrawingContext hdc, 160 virtual bool Playback(gfx::NativeDrawingContext hdc,
161 const RECT* rect) const = 0; 161 const RECT* rect) const = 0;
162 #endif // OS_WIN 162 #endif // OS_WIN
163 163
164 bool GetDataAsVector(std::vector<char>* buffer) const; 164 bool GetDataAsVector(std::vector<char>* buffer) const;
165 165
166 virtual bool SaveTo(base::File* file) const OVERRIDE; 166 virtual bool SaveTo(base::File* file) const override;
167 167
168 private: 168 private:
169 DISALLOW_COPY_AND_ASSIGN(Metafile); 169 DISALLOW_COPY_AND_ASSIGN(Metafile);
170 }; 170 };
171 171
172 } // namespace printing 172 } // namespace printing
173 173
174 #endif // PRINTING_METAFILE_H_ 174 #endif // PRINTING_METAFILE_H_
OLDNEW
« no previous file with comments | « printing/emf_win_unittest.cc ('k') | printing/pdf_metafile_cg_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698