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

Side by Side Diff: webkit/tools/test_shell/test_shell_win.cc

Issue 3064017: Add --enable-speech-input switch and set ENABLE_INPUT_SPEECH=1 (Closed)
Patch Set: Added button images to test shell and set flag. Created 10 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
« no previous file with comments | « webkit/tools/test_shell/test_shell_webkit_init.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #include "webkit/tools/test_shell/test_shell.h" 5 #include "webkit/tools/test_shell/test_shell.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <commdlg.h> 8 #include <commdlg.h>
9 #include <objbase.h> 9 #include <objbase.h>
10 #include <process.h> 10 #include <process.h>
(...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 case IDR_MEDIA_PLAY_BUTTON: 785 case IDR_MEDIA_PLAY_BUTTON:
786 case IDR_MEDIA_PLAY_BUTTON_DISABLED: 786 case IDR_MEDIA_PLAY_BUTTON_DISABLED:
787 case IDR_MEDIA_SOUND_FULL_BUTTON: 787 case IDR_MEDIA_SOUND_FULL_BUTTON:
788 case IDR_MEDIA_SOUND_NONE_BUTTON: 788 case IDR_MEDIA_SOUND_NONE_BUTTON:
789 case IDR_MEDIA_SOUND_DISABLED: 789 case IDR_MEDIA_SOUND_DISABLED:
790 case IDR_MEDIA_SLIDER_THUMB: 790 case IDR_MEDIA_SLIDER_THUMB:
791 case IDR_MEDIA_VOLUME_SLIDER_THUMB: 791 case IDR_MEDIA_VOLUME_SLIDER_THUMB:
792 case IDR_DEVTOOLS_INJECT_WEBKIT_JS: 792 case IDR_DEVTOOLS_INJECT_WEBKIT_JS:
793 case IDR_DEVTOOLS_INJECT_DISPATCH_JS: 793 case IDR_DEVTOOLS_INJECT_DISPATCH_JS:
794 case IDR_DEVTOOLS_DEBUGGER_SCRIPT_JS: 794 case IDR_DEVTOOLS_DEBUGGER_SCRIPT_JS:
795 case IDR_INPUT_SPEECH:
796 case IDR_INPUT_SPEECH_RECORDING:
797 case IDR_INPUT_SPEECH_WAITING:
795 return NetResourceProvider(resource_id); 798 return NetResourceProvider(resource_id);
796 799
797 default: 800 default:
798 break; 801 break;
799 } 802 }
800 803
801 return base::StringPiece(); 804 return base::StringPiece();
802 } 805 }
803 806
804 HCURSOR LoadCursor(int cursor_id) { 807 HCURSOR LoadCursor(int cursor_id) {
805 return NULL; 808 return NULL;
806 } 809 }
807 810
808 void GetPlugins(bool refresh, std::vector<WebPluginInfo>* plugins) { 811 void GetPlugins(bool refresh, std::vector<WebPluginInfo>* plugins) {
809 NPAPI::PluginList::Singleton()->GetPlugins(refresh, plugins); 812 NPAPI::PluginList::Singleton()->GetPlugins(refresh, plugins);
810 } 813 }
811 814
812 bool EnsureFontLoaded(HFONT font) { 815 bool EnsureFontLoaded(HFONT font) {
813 return true; 816 return true;
814 } 817 }
815 818
816 bool DownloadUrl(const std::string& url, HWND caller_window) { 819 bool DownloadUrl(const std::string& url, HWND caller_window) {
817 return false; 820 return false;
818 } 821 }
819 822
820 } // namespace webkit_glue 823 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/test_shell_webkit_init.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698