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

Side by Side Diff: chrome/browser/speech/speech_recognition_bubble_controller.h

Issue 9969208: TabContents -> WebContentsImpl, part 20. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SPEECH_SPEECH_RECOGNITION_BUBBLE_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_SPEECH_SPEECH_RECOGNITION_BUBBLE_CONTROLLER_H_
6 #define CHROME_BROWSER_SPEECH_SPEECH_RECOGNITION_BUBBLE_CONTROLLER_H_ 6 #define CHROME_BROWSER_SPEECH_SPEECH_RECOGNITION_BUBBLE_CONTROLLER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 SpeechRecognitionBubble::Button button); 109 SpeechRecognitionBubble::Button button);
110 void InvokeDelegateFocusChanged(int caller_id); 110 void InvokeDelegateFocusChanged(int caller_id);
111 void ProcessRequestInUiThread(int caller_id, 111 void ProcessRequestInUiThread(int caller_id,
112 RequestType type, 112 RequestType type,
113 const string16& text, 113 const string16& text,
114 float volume, 114 float volume,
115 float noise_volume); 115 float noise_volume);
116 116
117 // Called whenever a bubble was added to or removed from the list. If the 117 // Called whenever a bubble was added to or removed from the list. If the
118 // bubble was being added, this method registers for close notifications with 118 // bubble was being added, this method registers for close notifications with
119 // the TabContents if this was the first bubble for the tab. Similarly if the 119 // the WebContents if this was the first bubble for the tab. Similarly if the
120 // bubble was being removed, this method unregisters from TabContents if this 120 // bubble was being removed, this method unregisters from WebContents if this
121 // was the last bubble associated with that tab. 121 // was the last bubble associated with that tab.
122 void UpdateTabContentsSubscription(int caller_id, 122 void UpdateTabContentsSubscription(int caller_id,
123 ManageSubscriptionAction action); 123 ManageSubscriptionAction action);
124 124
125 // Only accessed in the IO thread. 125 // Only accessed in the IO thread.
126 Delegate* delegate_; 126 Delegate* delegate_;
127 127
128 // *** The following are accessed only in the UI thread. 128 // *** The following are accessed only in the UI thread.
129 129
130 // The caller id for currently visible bubble (since only one bubble is 130 // The caller id for currently visible bubble (since only one bubble is
(...skipping 11 matching lines...) Expand all
142 // This typedef is to workaround the issue with certain versions of 142 // This typedef is to workaround the issue with certain versions of
143 // Visual Studio where it gets confused between multiple Delegate 143 // Visual Studio where it gets confused between multiple Delegate
144 // classes and gives a C2500 error. (I saw this error on the try bots - 144 // classes and gives a C2500 error. (I saw this error on the try bots -
145 // the workaround was not needed for my machine). 145 // the workaround was not needed for my machine).
146 typedef SpeechRecognitionBubbleController::Delegate 146 typedef SpeechRecognitionBubbleController::Delegate
147 SpeechRecognitionBubbleControllerDelegate; 147 SpeechRecognitionBubbleControllerDelegate;
148 148
149 } // namespace speech 149 } // namespace speech
150 150
151 #endif // CHROME_BROWSER_SPEECH_SPEECH_RECOGNITION_BUBBLE_CONTROLLER_H_ 151 #endif // CHROME_BROWSER_SPEECH_SPEECH_RECOGNITION_BUBBLE_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/sessions/session_service.h ('k') | chrome/browser/speech/speech_recognition_bubble_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698