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

Unified Diff: chrome/renderer/tts_dispatcher.h

Issue 63273002: Rename WebKit namespace to blink (part 4) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « chrome/renderer/translate/translate_script_browsertest.cc ('k') | chrome/renderer/tts_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/tts_dispatcher.h
diff --git a/chrome/renderer/tts_dispatcher.h b/chrome/renderer/tts_dispatcher.h
index 81f5c45dc2c42c617de14bdfdd5606a61a5bc99a..c46327591c76a767dddec231e4245f7ada20d98b 100644
--- a/chrome/renderer/tts_dispatcher.h
+++ b/chrome/renderer/tts_dispatcher.h
@@ -28,10 +28,10 @@ struct TtsVoice;
// so each one routes IPC messages to its WebSpeechSynthesizerClient only if
// the utterance id (which is globally unique) matches.
class TtsDispatcher
- : public WebKit::WebSpeechSynthesizer,
+ : public blink::WebSpeechSynthesizer,
public content::RenderProcessObserver {
public:
- explicit TtsDispatcher(WebKit::WebSpeechSynthesizerClient* client);
+ explicit TtsDispatcher(blink::WebSpeechSynthesizerClient* client);
private:
virtual ~TtsDispatcher();
@@ -39,15 +39,15 @@ class TtsDispatcher
// RenderProcessObserver override.
virtual bool OnControlMessageReceived(const IPC::Message& message) OVERRIDE;
- // WebKit::WebSpeechSynthesizer implementation.
+ // blink::WebSpeechSynthesizer implementation.
virtual void updateVoiceList() OVERRIDE;
- virtual void speak(const WebKit::WebSpeechSynthesisUtterance& utterance)
+ virtual void speak(const blink::WebSpeechSynthesisUtterance& utterance)
OVERRIDE;
virtual void pause() OVERRIDE;
virtual void resume() OVERRIDE;
virtual void cancel() OVERRIDE;
- WebKit::WebSpeechSynthesisUtterance FindUtterance(int utterance_id);
+ blink::WebSpeechSynthesisUtterance FindUtterance(int utterance_id);
void OnSetVoiceList(const std::vector<TtsVoice>& voices);
void OnDidStartSpeaking(int utterance_id);
@@ -64,13 +64,13 @@ class TtsDispatcher
// The WebKit client class that we use to send events back to the JS world.
// Weak reference, this will be valid as long as this object exists.
- WebKit::WebSpeechSynthesizerClient* synthesizer_client_;
+ blink::WebSpeechSynthesizerClient* synthesizer_client_;
// Next utterance id, used to map response IPCs to utterance objects.
static int next_utterance_id_;
// Map from id to utterance objects.
- base::hash_map<int, WebKit::WebSpeechSynthesisUtterance> utterance_id_map_;
+ base::hash_map<int, blink::WebSpeechSynthesisUtterance> utterance_id_map_;
DISALLOW_COPY_AND_ASSIGN(TtsDispatcher);
};
« no previous file with comments | « chrome/renderer/translate/translate_script_browsertest.cc ('k') | chrome/renderer/tts_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698