Standardize usage of virtual/override/final in ui/
This patch was automatically generated by applying clang fixit hints
generated by the plugin to the source tree.
BUG=417463
[email protected]
Review URL: https://codereview.chromium.org/667923002
Cr-Commit-Position: refs/heads/master@{#300446}
diff --git a/ui/base/default_theme_provider.h b/ui/base/default_theme_provider.h
index 0fe64d1..173442d 100644
--- a/ui/base/default_theme_provider.h
+++ b/ui/base/default_theme_provider.h
@@ -21,25 +21,24 @@
class UI_BASE_EXPORT DefaultThemeProvider : public ThemeProvider {
public:
DefaultThemeProvider();
- virtual ~DefaultThemeProvider();
+ ~DefaultThemeProvider() override;
// Overridden from ui::ThemeProvider:
- virtual bool UsingSystemTheme() const override;
- virtual gfx::ImageSkia* GetImageSkiaNamed(int id) const override;
- virtual SkColor GetColor(int id) const override;
- virtual int GetDisplayProperty(int id) const override;
- virtual bool ShouldUseNativeFrame() const override;
- virtual bool HasCustomImage(int id) const override;
- virtual base::RefCountedMemory* GetRawData(
- int id,
- ui::ScaleFactor scale_factor) const override;
+ bool UsingSystemTheme() const override;
+ gfx::ImageSkia* GetImageSkiaNamed(int id) const override;
+ SkColor GetColor(int id) const override;
+ int GetDisplayProperty(int id) const override;
+ bool ShouldUseNativeFrame() const override;
+ bool HasCustomImage(int id) const override;
+ base::RefCountedMemory* GetRawData(int id, ui::ScaleFactor scale_factor)
+ const override;
#if defined(OS_MACOSX)
- virtual NSImage* GetNSImageNamed(int id) const override;
- virtual NSColor* GetNSImageColorNamed(int id) const override;
- virtual NSColor* GetNSColor(int id) const override;
- virtual NSColor* GetNSColorTint(int id) const override;
- virtual NSGradient* GetNSGradient(int id) const override;
+ NSImage* GetNSImageNamed(int id) const override;
+ NSColor* GetNSImageColorNamed(int id) const override;
+ NSColor* GetNSColor(int id) const override;
+ NSColor* GetNSColorTint(int id) const override;
+ NSGradient* GetNSGradient(int id) const override;
#endif
private: