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

Side by Side Diff: Source/platform/exported/WebSpeechSynthesisVoice.cpp

Issue 458313005: Cleanup namespace usage from animation to exported in platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Cleanup namespace usage from animation to exported in platform/ Created 6 years, 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * * Redistributions of source code must retain the above copyright 7 * * Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * * Redistributions in binary form must reproduce the above copyright 9 * * Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 14 matching lines...) Expand all
25 25
26 #include "config.h" 26 #include "config.h"
27 #include "public/platform/WebSpeechSynthesisVoice.h" 27 #include "public/platform/WebSpeechSynthesisVoice.h"
28 28
29 #include "platform/speech/PlatformSpeechSynthesisVoice.h" 29 #include "platform/speech/PlatformSpeechSynthesisVoice.h"
30 #include "wtf/PassRefPtr.h" 30 #include "wtf/PassRefPtr.h"
31 31
32 namespace blink { 32 namespace blink {
33 33
34 WebSpeechSynthesisVoice::WebSpeechSynthesisVoice() 34 WebSpeechSynthesisVoice::WebSpeechSynthesisVoice()
35 : m_private(blink::PlatformSpeechSynthesisVoice::create()) 35 : m_private(PlatformSpeechSynthesisVoice::create())
36 { 36 {
37 } 37 }
38 38
39 void WebSpeechSynthesisVoice::assign(const WebSpeechSynthesisVoice& other) 39 void WebSpeechSynthesisVoice::assign(const WebSpeechSynthesisVoice& other)
40 { 40 {
41 m_private = other.m_private; 41 m_private = other.m_private;
42 } 42 }
43 43
44 void WebSpeechSynthesisVoice::reset() 44 void WebSpeechSynthesisVoice::reset()
45 { 45 {
(...skipping 18 matching lines...) Expand all
64 void WebSpeechSynthesisVoice::setIsLocalService(bool isLocalService) 64 void WebSpeechSynthesisVoice::setIsLocalService(bool isLocalService)
65 { 65 {
66 m_private->setLocalService(isLocalService); 66 m_private->setLocalService(isLocalService);
67 } 67 }
68 68
69 void WebSpeechSynthesisVoice::setIsDefault(bool isDefault) 69 void WebSpeechSynthesisVoice::setIsDefault(bool isDefault)
70 { 70 {
71 m_private->setIsDefault(isDefault); 71 m_private->setIsDefault(isDefault);
72 } 72 }
73 73
74 WebSpeechSynthesisVoice::operator blink::PlatformSpeechSynthesisVoice*() const 74 WebSpeechSynthesisVoice::operator PlatformSpeechSynthesisVoice*() const
75 { 75 {
76 return m_private.get(); 76 return m_private.get();
77 } 77 }
78 78
79 } // namespace blink 79 } // namespace blink
OLDNEW
« no previous file with comments | « Source/platform/exported/WebSpeechSynthesisUtterance.cpp ('k') | Source/platform/exported/WebSpeechSynthesizerClientImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698