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

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

Issue 8508051: Revert 109285 - Seems to have broken chrome_frame_net_tests on the win_rel trybot, stuffing up th... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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_input_extension_notification.h
===================================================================
--- chrome/browser/speech/speech_input_extension_notification.h (revision 109388)
+++ chrome/browser/speech/speech_input_extension_notification.h (working copy)
@@ -1,38 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_SPEECH_SPEECH_INPUT_EXTENSION_NOTIFICATION_H_
-#define CHROME_BROWSER_SPEECH_SPEECH_INPUT_EXTENSION_NOTIFICATION_H_
-#pragma once
-
-#include "base/memory/scoped_ptr.h"
-
-class Extension;
-class Profile;
-class SkBitmap;
-class SkCanvas;
-class StatusIcon;
-
-// Manages the notification UI shown when an extension starts recording audio
-// for speech recognition.
-class SpeechInputExtensionNotification {
- public:
- explicit SpeechInputExtensionNotification(Profile* profile);
- virtual ~SpeechInputExtensionNotification();
-
- void Show(const Extension* extension, bool show_balloon);
- void Hide();
- void SetVUMeterVolume(float volume);
-
- private:
- void DrawVolume(SkCanvas* canvas, const SkBitmap& bitmap, float volume);
- void ShowNotificationBalloon(const Extension* extension);
-
- Profile* profile_;
- scoped_ptr<SkBitmap> mic_image_;
- scoped_ptr<SkBitmap> buffer_image_;
- StatusIcon* tray_icon_;
-};
-
-#endif // CHROME_BROWSER_SPEECH_SPEECH_INPUT_EXTENSION_NOTIFICATION_H_
« no previous file with comments | « chrome/browser/speech/speech_input_extension_manager.cc ('k') | chrome/browser/speech/speech_input_extension_notification.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698