diff options
Diffstat (limited to 'chrome/browser/speech/speech_recognition_bubble_controller.h')
-rw-r--r-- | chrome/browser/speech/speech_recognition_bubble_controller.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/speech/speech_recognition_bubble_controller.h b/chrome/browser/speech/speech_recognition_bubble_controller.h index 744cb64..1f59d08 100644 --- a/chrome/browser/speech/speech_recognition_bubble_controller.h +++ b/chrome/browser/speech/speech_recognition_bubble_controller.h @@ -49,7 +49,6 @@ class SpeechRecognitionBubbleController }; explicit SpeechRecognitionBubbleController(Delegate* delegate); - virtual ~SpeechRecognitionBubbleController(); // Creates a new speech recognition UI bubble. One of the SetXxxx methods // below need to be called to specify what to display. @@ -90,6 +89,8 @@ class SpeechRecognitionBubbleController const content::NotificationDetails& details) OVERRIDE; private: + friend class base::RefCountedThreadSafe<SpeechRecognitionBubbleController>; + // The various calls received by this object and handled in the UI thread. enum RequestType { REQUEST_SET_WARM_UP_MODE, @@ -105,6 +106,8 @@ class SpeechRecognitionBubbleController BUBBLE_REMOVED }; + virtual ~SpeechRecognitionBubbleController(); + void InvokeDelegateButtonClicked(int session_id, SpeechRecognitionBubble::Button button); void InvokeDelegateFocusChanged(int session_id); |