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

Unified Diff: printing/pdf_metafile_cg_mac.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « printing/metafile.h ('k') | printing/pdf_metafile_skia.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/pdf_metafile_cg_mac.h
diff --git a/printing/pdf_metafile_cg_mac.h b/printing/pdf_metafile_cg_mac.h
index 98c8ea468670a03ca1d6a4b9887942cb03373a3f..c7c1a5ac8fe57fda0324ba65a9367a0d5a65155a 100644
--- a/printing/pdf_metafile_cg_mac.h
+++ b/printing/pdf_metafile_cg_mac.h
@@ -32,34 +32,34 @@ class PRINTING_EXPORT PdfMetafileCg : public Metafile {
virtual ~PdfMetafileCg();
// Metafile methods.
- virtual bool Init() OVERRIDE;
+ virtual bool Init() override;
virtual bool InitFromData(const void* src_buffer,
- uint32 src_buffer_size) OVERRIDE;
+ uint32 src_buffer_size) override;
// Not implemented on mac.
virtual SkBaseDevice* StartPageForVectorCanvas(
const gfx::Size& page_size, const gfx::Rect& content_area,
- const float& scale_factor) OVERRIDE;
+ const float& scale_factor) override;
virtual bool StartPage(const gfx::Size& page_size,
const gfx::Rect& content_area,
- const float& scale_factor) OVERRIDE;
- virtual bool FinishPage() OVERRIDE;
- virtual bool FinishDocument() OVERRIDE;
+ const float& scale_factor) override;
+ virtual bool FinishPage() override;
+ virtual bool FinishDocument() override;
- virtual uint32 GetDataSize() const OVERRIDE;
- virtual bool GetData(void* dst_buffer, uint32 dst_buffer_size) const OVERRIDE;
+ virtual uint32 GetDataSize() const override;
+ virtual bool GetData(void* dst_buffer, uint32 dst_buffer_size) const override;
- virtual gfx::Rect GetPageBounds(unsigned int page_number) const OVERRIDE;
- virtual unsigned int GetPageCount() const OVERRIDE;
+ virtual gfx::Rect GetPageBounds(unsigned int page_number) const override;
+ virtual unsigned int GetPageCount() const override;
// Note: The returned context *must not be retained* past Close(). If it is,
// the data returned from GetData will not be valid PDF data.
- virtual CGContextRef context() const OVERRIDE;
+ virtual CGContextRef context() const override;
virtual bool RenderPage(unsigned int page_number,
gfx::NativeDrawingContext context,
const CGRect rect,
- const MacRenderPageParams& params) const OVERRIDE;
+ const MacRenderPageParams& params) const override;
private:
// Returns a CGPDFDocumentRef version of pdf_data_.
« no previous file with comments | « printing/metafile.h ('k') | printing/pdf_metafile_skia.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698