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

Side by Side Diff: printing/pdf_metafile_skia.h

Issue 1101023002: Update {virtual,override} to follow C++11 style in printing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/printing_context_system_dialog_win.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_PDF_METAFILE_SKIA_H_ 5 #ifndef PRINTING_PDF_METAFILE_SKIA_H_
6 #define PRINTING_PDF_METAFILE_SKIA_H_ 6 #define PRINTING_PDF_METAFILE_SKIA_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 uint32 GetDataSize() const override; 47 uint32 GetDataSize() const override;
48 bool GetData(void* dst_buffer, uint32 dst_buffer_size) const override; 48 bool GetData(void* dst_buffer, uint32 dst_buffer_size) const override;
49 49
50 gfx::Rect GetPageBounds(unsigned int page_number) const override; 50 gfx::Rect GetPageBounds(unsigned int page_number) const override;
51 unsigned int GetPageCount() const override; 51 unsigned int GetPageCount() const override;
52 52
53 gfx::NativeDrawingContext context() const override; 53 gfx::NativeDrawingContext context() const override;
54 54
55 #if defined(OS_WIN) 55 #if defined(OS_WIN)
56 virtual bool Playback(gfx::NativeDrawingContext hdc, 56 bool Playback(gfx::NativeDrawingContext hdc,
57 const RECT* rect) const override; 57 const RECT* rect) const override;
58 virtual bool SafePlayback(gfx::NativeDrawingContext hdc) const override; 58 bool SafePlayback(gfx::NativeDrawingContext hdc) const override;
59 #elif defined(OS_MACOSX) 59 #elif defined(OS_MACOSX)
60 bool RenderPage(unsigned int page_number, 60 bool RenderPage(unsigned int page_number,
61 gfx::NativeDrawingContext context, 61 gfx::NativeDrawingContext context,
62 const CGRect rect, 62 const CGRect rect,
63 const MacRenderPageParams& params) const override; 63 const MacRenderPageParams& params) const override;
64 #endif 64 #endif
65 65
66 bool SaveTo(base::File* file) const override; 66 bool SaveTo(base::File* file) const override;
67 67
68 #if defined(OS_CHROMEOS) || defined(OS_ANDROID) 68 #if defined(OS_CHROMEOS) || defined(OS_ANDROID)
(...skipping 16 matching lines...) Expand all
85 85
86 private: 86 private:
87 scoped_ptr<PdfMetafileSkiaData> data_; 87 scoped_ptr<PdfMetafileSkiaData> data_;
88 88
89 DISALLOW_COPY_AND_ASSIGN(PdfMetafileSkia); 89 DISALLOW_COPY_AND_ASSIGN(PdfMetafileSkia);
90 }; 90 };
91 91
92 } // namespace printing 92 } // namespace printing
93 93
94 #endif // PRINTING_PDF_METAFILE_SKIA_H_ 94 #endif // PRINTING_PDF_METAFILE_SKIA_H_
OLDNEW
« no previous file with comments | « printing/emf_win_unittest.cc ('k') | printing/printing_context_system_dialog_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698