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

Unified Diff: chrome/browser/themes/browser_theme_pack.h

Issue 648653003: Standardize usage of virtual/override/final in chrome/browser/ (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
Index: chrome/browser/themes/browser_theme_pack.h
diff --git a/chrome/browser/themes/browser_theme_pack.h b/chrome/browser/themes/browser_theme_pack.h
index ab78da77a2f5eda5788f6284f51171cfd97b573c..effba56c166599aab5ef5163127d2d172eaf5c25 100644
--- a/chrome/browser/themes/browser_theme_pack.h
+++ b/chrome/browser/themes/browser_theme_pack.h
@@ -79,13 +79,13 @@ class BrowserThemePack : public CustomThemeSupplier {
bool WriteToDisk(const base::FilePath& path) const;
// Overridden from CustomThemeSupplier:
- virtual bool GetTint(int id, color_utils::HSL* hsl) const override;
- virtual bool GetColor(int id, SkColor* color) const override;
- virtual bool GetDisplayProperty(int id, int* result) const override;
- virtual gfx::Image GetImageNamed(int id) override;
- virtual base::RefCountedMemory* GetRawData(
- int id, ui::ScaleFactor scale_factor) const override;
- virtual bool HasCustomImage(int id) const override;
+ bool GetTint(int id, color_utils::HSL* hsl) const override;
+ bool GetColor(int id, SkColor* color) const override;
+ bool GetDisplayProperty(int id, int* result) const override;
+ gfx::Image GetImageNamed(int id) override;
+ base::RefCountedMemory* GetRawData(int id, ui::ScaleFactor scale_factor)
+ const override;
+ bool HasCustomImage(int id) const override;
private:
friend class BrowserThemePackTest;
@@ -108,7 +108,7 @@ class BrowserThemePack : public CustomThemeSupplier {
// Default. Everything is empty.
BrowserThemePack();
- virtual ~BrowserThemePack();
+ ~BrowserThemePack() override;
// Builds a header ready to write to disk.
void BuildHeader(const extensions::Extension* extension);
« no previous file with comments | « chrome/browser/tab_contents/navigation_metrics_recorder.h ('k') | chrome/browser/themes/browser_theme_pack.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698