Changeset 140297 in webkit


Ignore:
Timestamp:
Jan 20, 2013 10:13:34 PM (11 years ago)
Author:
dmazzoni@google.com
Message:

Make SpeechSynthesis compile in the Chromium port
https://bugs.webkit.org/show_bug.cgi?id=107382

Reviewed by Adam Barth.

Source/WebCore:

Add stubs for the Chromium implementation of speech synthesis,
and add all source and header files to WebCore.gypi. Everything
is behind the ENABLE_SPEECH_SYNTHESIS flag.

  • Modules/speech/chromium/SpeechSynthesisChromium.cpp: Added.

(WebCore):
(WebCore::SpeechSynthesis::initializeVoiceList):
(WebCore::SpeechSynthesis::pending):
(WebCore::SpeechSynthesis::speaking):
(WebCore::SpeechSynthesis::paused):
(WebCore::SpeechSynthesis::speak):
(WebCore::SpeechSynthesis::cancel):
(WebCore::SpeechSynthesis::pause):
(WebCore::SpeechSynthesis::resume):

  • WebCore.gypi:

Source/WebKit/chromium:

Add ENABLE_SPEECH_SYNTHESIS to features.gypi, off by default.

  • features.gypi:
Location:
trunk/Source
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r140296 r140297  
     12013-01-20  Dominic Mazzoni  <dmazzoni@google.com>
     2
     3        Make SpeechSynthesis compile in the Chromium port
     4        https://bugs.webkit.org/show_bug.cgi?id=107382
     5
     6        Reviewed by Adam Barth.
     7
     8        Add stubs for the Chromium implementation of speech synthesis,
     9        and add all source and header files to WebCore.gypi. Everything
     10        is behind the ENABLE_SPEECH_SYNTHESIS flag.
     11
     12        * Modules/speech/chromium/SpeechSynthesisChromium.cpp: Added.
     13        (WebCore):
     14        (WebCore::SpeechSynthesis::initializeVoiceList):
     15        (WebCore::SpeechSynthesis::pending):
     16        (WebCore::SpeechSynthesis::speaking):
     17        (WebCore::SpeechSynthesis::paused):
     18        (WebCore::SpeechSynthesis::speak):
     19        (WebCore::SpeechSynthesis::cancel):
     20        (WebCore::SpeechSynthesis::pause):
     21        (WebCore::SpeechSynthesis::resume):
     22        * WebCore.gypi:
     23
    1242013-01-20  Kent Tamura  <tkent@chromium.org>
    225
  • trunk/Source/WebCore/WebCore.gypi

    r140295 r140297  
    101101            'Modules/quota/StorageInfoUsageCallback.idl',
    102102            'Modules/speech/DOMWindowSpeech.idl',
     103            'Modules/speech/DOMWindowSpeechSynthesis.idl',
    103104            'Modules/speech/SpeechGrammar.idl',
    104105            'Modules/speech/SpeechGrammarList.idl',
     
    109110            'Modules/speech/SpeechRecognitionResult.idl',
    110111            'Modules/speech/SpeechRecognitionResultList.idl',
     112            'Modules/speech/SpeechSynthesis.idl',
     113            'Modules/speech/SpeechSynthesisEvent.idl',
     114            'Modules/speech/SpeechSynthesisUtterance.idl',
     115            'Modules/speech/SpeechSynthesisVoice.idl',
    111116            'Modules/webaudio/AudioBuffer.idl',
    112117            'Modules/webaudio/AudioBufferCallback.idl',
     
    875880            'Modules/quota/StorageInfoQuotaCallback.h',
    876881            'Modules/quota/StorageInfoUsageCallback.h',
     882            'Modules/speech/DOMWindowSpeechSynthesis.cpp',
     883            'Modules/speech/DOMWindowSpeechSynthesis.h',
    877884            'Modules/speech/SpeechGrammar.cpp',
    878885            'Modules/speech/SpeechGrammar.h',
     
    894901            'Modules/speech/SpeechRecognitionResultList.cpp',
    895902            'Modules/speech/SpeechRecognitionResultList.h',
     903            'Modules/speech/SpeechSynthesis.cpp',
     904            'Modules/speech/SpeechSynthesis.h',
     905            'Modules/speech/SpeechSynthesisEvent.cpp',
     906            'Modules/speech/SpeechSynthesisEvent.h',
     907            'Modules/speech/SpeechSynthesisUtterance.cpp',
     908            'Modules/speech/SpeechSynthesisUtterance.h',
     909            'Modules/speech/SpeechSynthesisVoice.cpp',
     910            'Modules/speech/SpeechSynthesisVoice.h',
     911            'Modules/speech/chromium/SpeechSynthesisChromium.cpp',
    896912            'Modules/webaudio/AudioBasicInspectorNode.cpp',
    897913            'Modules/webaudio/AudioBasicInspectorNode.h',
  • trunk/Source/WebKit/chromium/ChangeLog

    r140286 r140297  
     12013-01-20  Dominic Mazzoni  <dmazzoni@google.com>
     2
     3        Make SpeechSynthesis compile in the Chromium port
     4        https://bugs.webkit.org/show_bug.cgi?id=107382
     5
     6        Reviewed by Adam Barth.
     7
     8        Add ENABLE_SPEECH_SYNTHESIS to features.gypi, off by default.
     9
     10        * features.gypi:
     11
    1122013-01-20  Yoshifumi Inoue  <yosin@chromium.org>
    213
  • trunk/Source/WebKit/chromium/features.gypi

    r139367 r140297  
    110110      'ENABLE_SHADOW_DOM=1',
    111111      'ENABLE_SMOOTH_SCROLLING=1',
     112      'ENABLE_SPEECH_SYNTHESIS=0',
    112113      'ENABLE_SQL_DATABASE=1',
    113114      'ENABLE_STYLE_SCOPED=1',
Note: See TracChangeset for help on using the changeset viewer.