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

Unified Diff: chromecast/common/cast_resource_delegate.h

Issue 837453003: Chromecast: virtual/override cleanup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed a few spots Created 5 years, 11 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 | « chromecast/common/cast_content_client.h ('k') | chromecast/crash/cast_crash_reporter_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/common/cast_resource_delegate.h
diff --git a/chromecast/common/cast_resource_delegate.h b/chromecast/common/cast_resource_delegate.h
index 8e248c3453a39084ffbfa567182b214ec15496da..3e4cac2e4cb4069a7a78bdc33d3b030a58cddf82 100644
--- a/chromecast/common/cast_resource_delegate.h
+++ b/chromecast/common/cast_resource_delegate.h
@@ -30,29 +30,27 @@ class CastResourceDelegate : public ui::ResourceBundle::Delegate {
static CastResourceDelegate* GetInstance();
CastResourceDelegate();
- virtual ~CastResourceDelegate();
+ ~CastResourceDelegate() override;
// ui:ResourceBundle::Delegate implementation:
- virtual base::FilePath GetPathForResourcePack(
+ base::FilePath GetPathForResourcePack(
const base::FilePath& pack_path,
ui::ScaleFactor scale_factor) override;
- virtual base::FilePath GetPathForLocalePack(
+ base::FilePath GetPathForLocalePack(
const base::FilePath& pack_path,
const std::string& locale) override;
- virtual gfx::Image GetImageNamed(int resource_id) override;
- virtual gfx::Image GetNativeImageNamed(
+ gfx::Image GetImageNamed(int resource_id) override;
+ gfx::Image GetNativeImageNamed(
int resource_id,
ui::ResourceBundle::ImageRTL rtl) override;
- virtual base::RefCountedStaticMemory* LoadDataResourceBytes(
+ base::RefCountedStaticMemory* LoadDataResourceBytes(
int resource_id,
ui::ScaleFactor scale_factor) override;
- virtual bool GetRawDataResource(int resource_id,
- ui::ScaleFactor scale_factor,
- base::StringPiece* value) override;
- virtual bool GetLocalizedString(int message_id,
- base::string16* value) override;
- virtual scoped_ptr<gfx::Font> GetFont(
- ui::ResourceBundle::FontStyle style) override;
+ bool GetRawDataResource(int resource_id,
+ ui::ScaleFactor scale_factor,
+ base::StringPiece* value) override;
+ bool GetLocalizedString(int message_id, base::string16* value) override;
+ scoped_ptr<gfx::Font> GetFont(ui::ResourceBundle::FontStyle style) override;
// Adds/removes/clears extra localized strings.
void AddExtraLocalizedString(int resource_id,
« no previous file with comments | « chromecast/common/cast_content_client.h ('k') | chromecast/crash/cast_crash_reporter_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698