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

Unified Diff: chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc

Issue 1100223002: Update {virtual,override} to follow C++11 style in chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 8 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/ui/views/frame/browser_desktop_window_tree_host_win.cc
diff --git a/chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc b/chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc
index a2802990a93098d8a1fc4e876b0866e830eba055..ea2d19d6fe7ab8f06155bcb00fd77c658dc9834d 100644
--- a/chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc
+++ b/chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc
@@ -41,27 +41,27 @@ class DesktopThemeProvider : public ui::ThemeProvider {
: delegate_(delegate) {
}
- virtual bool UsingSystemTheme() const override {
+ bool UsingSystemTheme() const override {
return delegate_->UsingSystemTheme();
}
- virtual gfx::ImageSkia* GetImageSkiaNamed(int id) const override {
+ gfx::ImageSkia* GetImageSkiaNamed(int id) const override {
return delegate_->GetImageSkiaNamed(
chrome::MapThemeImage(chrome::HOST_DESKTOP_TYPE_NATIVE, id));
}
- virtual SkColor GetColor(int id) const override {
+ SkColor GetColor(int id) const override {
return delegate_->GetColor(id);
}
- virtual int GetDisplayProperty(int id) const override {
+ int GetDisplayProperty(int id) const override {
return delegate_->GetDisplayProperty(id);
}
- virtual bool ShouldUseNativeFrame() const override {
+ bool ShouldUseNativeFrame() const override {
return delegate_->ShouldUseNativeFrame();
}
- virtual bool HasCustomImage(int id) const override {
+ bool HasCustomImage(int id) const override {
return delegate_->HasCustomImage(
chrome::MapThemeImage(chrome::HOST_DESKTOP_TYPE_NATIVE, id));
}
- virtual base::RefCountedMemory* GetRawData(
+ base::RefCountedMemory* GetRawData(
int id,
ui::ScaleFactor scale_factor) const override {
return delegate_->GetRawData(id, scale_factor);

Powered by Google App Engine
This is Rietveld 408576698