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

Unified Diff: printing/emf_win.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 | « no previous file | printing/emf_win_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/emf_win.h
diff --git a/printing/emf_win.h b/printing/emf_win.h
index 579669a3a0fce333023ebc5a765f1aed1d462477..ff1c5a79e500cfa717d161414c89e72c2d1310e0 100644
--- a/printing/emf_win.h
+++ b/printing/emf_win.h
@@ -54,37 +54,37 @@ class PRINTING_EXPORT Emf : public Metafile {
bool InitFromFile(const base::FilePath& metafile_path);
// 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;
virtual SkBaseDevice* StartPageForVectorCanvas(
const gfx::Size& page_size, const gfx::Rect& content_area,
- const float& scale_factor) OVERRIDE;
+ const float& scale_factor) override;
// Inserts a custom GDICOMMENT records indicating StartPage/EndPage calls
// (since StartPage and EndPage do not work in a metafile DC). Only valid
// when hdc_ is non-NULL. |page_size|, |content_area|, and |scale_factor| are
// ignored.
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* buffer, uint32 size) const OVERRIDE;
+ virtual uint32 GetDataSize() const override;
+ virtual bool GetData(void* buffer, uint32 size) const override;
// Should be passed to Playback to keep the exact same size.
- virtual gfx::Rect GetPageBounds(unsigned int page_number) const OVERRIDE;
+ virtual gfx::Rect GetPageBounds(unsigned int page_number) const override;
- virtual unsigned int GetPageCount() const OVERRIDE { return 1; }
+ virtual unsigned int GetPageCount() const override { return 1; }
- virtual HDC context() const OVERRIDE {
+ virtual HDC context() const override {
return hdc_;
}
- virtual bool Playback(HDC hdc, const RECT* rect) const OVERRIDE;
- virtual bool SafePlayback(HDC hdc) const OVERRIDE;
+ virtual bool Playback(HDC hdc, const RECT* rect) const override;
+ virtual bool SafePlayback(HDC hdc) const override;
HENHMETAFILE emf() const { return emf_; }
« no previous file with comments | « no previous file | printing/emf_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698