diff options
Diffstat (limited to 'chrome/browser/speech/speech_input_bubble.h')
-rw-r--r-- | chrome/browser/speech/speech_input_bubble.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/chrome/browser/speech/speech_input_bubble.h b/chrome/browser/speech/speech_input_bubble.h index 436e6bb..3faabe0 100644 --- a/chrome/browser/speech/speech_input_bubble.h +++ b/chrome/browser/speech/speech_input_bubble.h @@ -99,9 +99,6 @@ class SpeechInputBubble { // Updates the current captured audio volume displayed on screen. virtual void SetInputVolume(float volume) = 0; - // Returns the TabContents for which this bubble gets displayed. - virtual TabContents* tab_contents() = 0; - // The horizontal distance between the start of the html widget and the speech // bubble's arrow. static const int kBubbleTargetOffsetX; @@ -122,7 +119,7 @@ class SpeechInputBubbleBase : public SpeechInputBubble { DISPLAY_MODE_MESSAGE }; - explicit SpeechInputBubbleBase(TabContents* tab_contents); + SpeechInputBubbleBase(); virtual ~SpeechInputBubbleBase(); // SpeechInputBubble methods @@ -130,7 +127,6 @@ class SpeechInputBubbleBase : public SpeechInputBubble { virtual void SetRecognizingMode(); virtual void SetMessage(const string16& text); virtual void SetInputVolume(float volume); - virtual TabContents* tab_contents() { return tab_contents_; } protected: // Updates the platform specific UI layout for the current display mode. @@ -163,8 +159,6 @@ class SpeechInputBubbleBase : public SpeechInputBubble { scoped_ptr<SkBitmap> mic_image_; // A temporary buffer image used in creating the above mic image. scoped_ptr<SkBitmap> buffer_image_; - // TabContents in which this this bubble gets displayed. - TabContents* tab_contents_; static SkBitmap* mic_full_; // Mic image with full volume. static SkBitmap* mic_empty_; // Mic image with zero volume. |