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

Unified Diff: chrome/browser/speech/speech_recognition_tray_icon_controller.h

Issue 10453101: Convert most of the rest of chrome to ImageSkia (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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/speech/speech_recognition_tray_icon_controller.h
diff --git a/chrome/browser/speech/speech_recognition_tray_icon_controller.h b/chrome/browser/speech/speech_recognition_tray_icon_controller.h
index f17ef0b7cd8ed35e022798194a58ef4226326341..a73d9818f7c704bf8f4bee024eb857d8b4ffb80a 100644
--- a/chrome/browser/speech/speech_recognition_tray_icon_controller.h
+++ b/chrome/browser/speech/speech_recognition_tray_icon_controller.h
@@ -15,6 +15,10 @@ class SkBitmap;
class SkCanvas;
class StatusIcon;
+namespace gfx {
+class ImageSkia;
+}
+
// Manages the tray icon for speech recognition.
class SpeechRecognitionTrayIconController
: public base::RefCountedThreadSafe<SpeechRecognitionTrayIconController> {
@@ -30,7 +34,7 @@ class SpeechRecognitionTrayIconController
virtual ~SpeechRecognitionTrayIconController();
void Initialize();
- void DrawVolume(SkCanvas* canvas, const SkBitmap& bitmap, float volume);
+ void DrawVolume(SkCanvas* canvas, const gfx::ImageSkia& image, float volume);
void ShowNotificationBalloon(const string16& text);
scoped_ptr<SkBitmap> mic_image_;

Powered by Google App Engine
This is Rietveld 408576698