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

Unified Diff: ui/app_list/views/speech_view.cc

Issue 275183002: patch from issue 218843002 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 6 years, 7 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 | « ui/app_list/views/app_list_view.cc ('k') | ui/message_center/views/bounded_label.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/speech_view.cc
diff --git a/ui/app_list/views/speech_view.cc b/ui/app_list/views/speech_view.cc
index 0f3a499ae1e67039c8d015a5b5a11a87c7f62a26..eaa1094ec5ea024bdf7d0844d96800ec7062b705 100644
--- a/ui/app_list/views/speech_view.cc
+++ b/ui/app_list/views/speech_view.cc
@@ -52,7 +52,8 @@ class SoundLevelIndicator : public views::View {
private:
// Overridden from views::View:
- virtual void Paint(gfx::Canvas* canvas) OVERRIDE;
+ virtual void Paint(gfx::Canvas* canvas,
+ const views::CullSet& cull_set) OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(SoundLevelIndicator);
};
@@ -61,7 +62,8 @@ SoundLevelIndicator::SoundLevelIndicator() {}
SoundLevelIndicator::~SoundLevelIndicator() {}
-void SoundLevelIndicator::Paint(gfx::Canvas* canvas) {
+void SoundLevelIndicator::Paint(gfx::Canvas* canvas,
+ const views::CullSet& cull_set) {
SkPaint paint;
paint.setStyle(SkPaint::kFill_Style);
paint.setColor(kSoundLevelIndicatorColor);
« no previous file with comments | « ui/app_list/views/app_list_view.cc ('k') | ui/message_center/views/bounded_label.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698