OLD | NEW |
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 Loading... |
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 |
OLD | NEW |