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

Side by Side Diff: chrome/browser/ui/toolbar/wrench_icon_painter.h

Issue 628773002: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[t-v]* (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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_TOOLBAR_WRENCH_ICON_PAINTER_H_ 5 #ifndef CHROME_BROWSER_UI_TOOLBAR_WRENCH_ICON_PAINTER_H_
6 #define CHROME_BROWSER_UI_TOOLBAR_WRENCH_ICON_PAINTER_H_ 6 #define CHROME_BROWSER_UI_TOOLBAR_WRENCH_ICON_PAINTER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/gtest_prod_util.h" 9 #include "base/gtest_prod_util.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 void Paint(gfx::Canvas* canvas, 57 void Paint(gfx::Canvas* canvas,
58 ui::ThemeProvider* theme_provider, 58 ui::ThemeProvider* theme_provider,
59 const gfx::Rect& rect, 59 const gfx::Rect& rect,
60 BezelType bezel_type); 60 BezelType bezel_type);
61 61
62 private: 62 private:
63 FRIEND_TEST_ALL_PREFIXES(WrenchIconPainterTest, PaintCallback); 63 FRIEND_TEST_ALL_PREFIXES(WrenchIconPainterTest, PaintCallback);
64 64
65 // AnimationDelegate: 65 // AnimationDelegate:
66 virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; 66 virtual void AnimationProgressed(const gfx::Animation* animation) override;
67 67
68 // Gets the image ID used to draw bars for the current severity level. 68 // Gets the image ID used to draw bars for the current severity level.
69 int GetCurrentSeverityImageID() const; 69 int GetCurrentSeverityImageID() const;
70 70
71 Delegate* delegate_; 71 Delegate* delegate_;
72 Severity severity_; 72 Severity severity_;
73 gfx::ImageSkia badge_; 73 gfx::ImageSkia badge_;
74 scoped_ptr<gfx::MultiAnimation> animation_; 74 scoped_ptr<gfx::MultiAnimation> animation_;
75 75
76 DISALLOW_COPY_AND_ASSIGN(WrenchIconPainter); 76 DISALLOW_COPY_AND_ASSIGN(WrenchIconPainter);
77 }; 77 };
78 78
79 #endif // CHROME_BROWSER_UI_TOOLBAR_WRENCH_ICON_PAINTER_H_ 79 #endif // CHROME_BROWSER_UI_TOOLBAR_WRENCH_ICON_PAINTER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/toolbar/toolbar_model_unittest.cc ('k') | chrome/browser/ui/toolbar/wrench_icon_painter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698