Changeset 64351 in webkit


Ignore:
Timestamp:
Jul 30, 2010 5:21:56 AM (14 years ago)
Author:
commit-queue@webkit.org
Message:

2010-07-30 Satish Sampath <satish@chromium.org>

Reviewed by Jeremy Orlow.

Add a mock in WebCore for testing speech input
https://bugs.webkit.org/show_bug.cgi?id=42603

Layout tests will be added in a subsequent patch using this mock.

  • Android.mk:
  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • platform/mock/SpeechInputClientMock.cpp: Added. (WebCore::SpeechInputClientMock::SpeechInputClientMock): (WebCore::SpeechInputClientMock::startRecognition): (WebCore::SpeechInputClientMock::stopRecording): (WebCore::SpeechInputClientMock::cancelRecognition): (WebCore::SpeechInputClientMock::setRecognitionResult): (WebCore::SpeechInputClientMock::timerFired):
  • platform/mock/SpeechInputClientMock.h: Added.
Location:
trunk/WebCore
Files:
2 added
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/Android.mk

    r64344 r64351  
    518518        \
    519519        platform/mock/GeolocationServiceMock.cpp \
     520        platform/mock/SpeechInputClientMock.cpp \
    520521        \
    521522        platform/network/AuthenticationChallengeBase.cpp \
  • trunk/WebCore/ChangeLog

    r64345 r64351  
     12010-07-30  Satish Sampath  <satish@chromium.org>
     2
     3        Reviewed by Jeremy Orlow.
     4
     5        Add a mock in WebCore for testing speech input
     6        https://bugs.webkit.org/show_bug.cgi?id=42603
     7
     8        Layout tests will be added in a subsequent patch using this mock.
     9
     10        * Android.mk:
     11        * GNUmakefile.am:
     12        * WebCore.gypi:
     13        * WebCore.pro:
     14        * WebCore.vcproj/WebCore.vcproj:
     15        * WebCore.xcodeproj/project.pbxproj:
     16        * platform/mock/SpeechInputClientMock.cpp: Added.
     17        (WebCore::SpeechInputClientMock::SpeechInputClientMock):
     18        (WebCore::SpeechInputClientMock::startRecognition):
     19        (WebCore::SpeechInputClientMock::stopRecording):
     20        (WebCore::SpeechInputClientMock::cancelRecognition):
     21        (WebCore::SpeechInputClientMock::setRecognitionResult):
     22        (WebCore::SpeechInputClientMock::timerFired):
     23        * platform/mock/SpeechInputClientMock.h: Added.
     24
    1252010-07-30  Nikolas Zimmermann  <nzimmermann@rim.com>
    226
  • trunk/WebCore/GNUmakefile.am

    r64344 r64351  
    19001900        WebCore/platform/mock/GeolocationServiceMock.cpp \
    19011901        WebCore/platform/mock/GeolocationServiceMock.h \
     1902        WebCore/platform/mock/SpeechInputClientMock.cpp \
     1903        WebCore/platform/mock/SpeechInputClientMock.h \
    19021904        WebCore/platform/NotImplemented.h \
    19031905        WebCore/platform/Pasteboard.h \
  • trunk/WebCore/WebCore.gypi

    r64344 r64351  
    30153015            'platform/mock/GeolocationServiceMock.cpp',
    30163016            'platform/mock/GeolocationServiceMock.h',
     3017            'platform/mock/SpeechInputClientMock.cpp',
     3018            'platform/mock/SpeechInputClientMock.h',
    30173019            'platform/NotImplemented.h',
    30183020            'platform/Pasteboard.h',
  • trunk/WebCore/WebCore.pro

    r64344 r64351  
    914914    platform/MIMETypeRegistry.cpp \
    915915    platform/mock/GeolocationServiceMock.cpp \
     916    platform/mock/SpeechInputClientMock.cpp \
    916917    platform/network/AuthenticationChallengeBase.cpp \
    917918    platform/network/Credential.cpp \
     
    16321633    platform/image-decoders/ImageDecoder.h \
    16331634    platform/mock/GeolocationServiceMock.h \
     1635    platform/mock/SpeechInputClientMock.h \
    16341636    platform/graphics/BitmapImage.h \
    16351637    platform/graphics/Color.h \
  • trunk/WebCore/WebCore.vcproj/WebCore.vcproj

    r64344 r64351  
    2818028180                                        >
    2818128181                                </File>
     28182                                <File
     28183                                        RelativePath="..\platform\mock\SpeechInputClientMock.cpp"
     28184                                        >
     28185                                </File>
     28186                                <File
     28187                                        RelativePath="..\platform\mock\SpeechInputClientMock.h"
     28188                                        >
     28189                                </File>
    2818228190                        </Filter>
    2818328191                </Filter>
  • trunk/WebCore/WebCore.xcodeproj/project.pbxproj

    r64344 r64351  
    13501350                750D029411D0E7F300BD1B27 /* RenderInputSpeech.h in Headers */ = {isa = PBXBuildFile; fileRef = 750D029211D0E7F300BD1B27 /* RenderInputSpeech.h */; };
    13511351                750D02C111D0EE7D00BD1B27 /* inputSpeech.tiff in Resources */ = {isa = PBXBuildFile; fileRef = 750D02C011D0EE7D00BD1B27 /* inputSpeech.tiff */; };
     1352                7535BC9412020CFF0037EC45 /* SpeechInputClientMock.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7535BC9212020CFF0037EC45 /* SpeechInputClientMock.cpp */; };
     1353                7535BC9512020CFF0037EC45 /* SpeechInputClientMock.h in Headers */ = {isa = PBXBuildFile; fileRef = 7535BC9312020CFF0037EC45 /* SpeechInputClientMock.h */; };
    13521354                754133A8102E00E800075D00 /* InspectorTimelineAgent.h in Headers */ = {isa = PBXBuildFile; fileRef = 754133A7102E00E800075D00 /* InspectorTimelineAgent.h */; };
    13531355                754133AA102E00F400075D00 /* InspectorTimelineAgent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 754133A9102E00F400075D00 /* InspectorTimelineAgent.cpp */; };
     
    71297131                750D029211D0E7F300BD1B27 /* RenderInputSpeech.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RenderInputSpeech.h; sourceTree = "<group>"; };
    71307132                750D02C011D0EE7D00BD1B27 /* inputSpeech.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = inputSpeech.tiff; sourceTree = "<group>"; };
     7133                7535BC9212020CFF0037EC45 /* SpeechInputClientMock.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SpeechInputClientMock.cpp; path = mock/SpeechInputClientMock.cpp; sourceTree = "<group>"; };
     7134                7535BC9312020CFF0037EC45 /* SpeechInputClientMock.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SpeechInputClientMock.h; path = mock/SpeechInputClientMock.h; sourceTree = "<group>"; };
    71317135                754133A7102E00E800075D00 /* InspectorTimelineAgent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InspectorTimelineAgent.h; sourceTree = "<group>"; };
    71327136                754133A9102E00F400075D00 /* InspectorTimelineAgent.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = InspectorTimelineAgent.cpp; sourceTree = "<group>"; };
     
    1204512049                        isa = PBXGroup;
    1204612050                        children = (
     12051                                7535BC9212020CFF0037EC45 /* SpeechInputClientMock.cpp */,
     12052                                7535BC9312020CFF0037EC45 /* SpeechInputClientMock.h */,
    1204712053                        );
    1204812054                        name = mock;
     
    1987219878                                084D0E3F11F5816100081E1A /* SVGResourcesCache.h in Headers */,
    1987319879                                085B05C311FAE16C004D65F6 /* SVGResourcesCycleSolver.h in Headers */,
     19880                                7535BC9512020CFF0037EC45 /* SpeechInputClientMock.h in Headers */,
    1987419881                        );
    1987519882                        runOnlyForDeploymentPostprocessing = 0;
     
    2227122278                                086A400611F6D6B7002CEC53 /* RenderSVGResourceContainer.cpp in Sources */,
    2227222279                                085B05C211FAE16C004D65F6 /* SVGResourcesCycleSolver.cpp in Sources */,
     22280                                7535BC9412020CFF0037EC45 /* SpeechInputClientMock.cpp in Sources */,
    2227322281                        );
    2227422282                        runOnlyForDeploymentPostprocessing = 0;
Note: See TracChangeset for help on using the changeset viewer.