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 767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
778 case IDR_MEDIA_PAUSE_BUTTON: | 778 case IDR_MEDIA_PAUSE_BUTTON: |
779 case IDR_MEDIA_PLAY_BUTTON: | 779 case IDR_MEDIA_PLAY_BUTTON: |
780 case IDR_MEDIA_PLAY_BUTTON_DISABLED: | 780 case IDR_MEDIA_PLAY_BUTTON_DISABLED: |
781 case IDR_MEDIA_SOUND_FULL_BUTTON: | 781 case IDR_MEDIA_SOUND_FULL_BUTTON: |
782 case IDR_MEDIA_SOUND_NONE_BUTTON: | 782 case IDR_MEDIA_SOUND_NONE_BUTTON: |
783 case IDR_MEDIA_SOUND_DISABLED: | 783 case IDR_MEDIA_SOUND_DISABLED: |
784 case IDR_MEDIA_SLIDER_THUMB: | 784 case IDR_MEDIA_SLIDER_THUMB: |
785 case IDR_MEDIA_VOLUME_SLIDER_THUMB: | 785 case IDR_MEDIA_VOLUME_SLIDER_THUMB: |
786 case IDR_DEVTOOLS_INJECT_WEBKIT_JS: | 786 case IDR_DEVTOOLS_INJECT_WEBKIT_JS: |
787 case IDR_DEVTOOLS_INJECT_DISPATCH_JS: | 787 case IDR_DEVTOOLS_INJECT_DISPATCH_JS: |
| 788 case IDR_DEVTOOLS_DEBUGGER_SCRIPT_JS: |
788 return NetResourceProvider(resource_id); | 789 return NetResourceProvider(resource_id); |
789 | 790 |
790 default: | 791 default: |
791 break; | 792 break; |
792 } | 793 } |
793 | 794 |
794 return base::StringPiece(); | 795 return base::StringPiece(); |
795 } | 796 } |
796 | 797 |
797 HCURSOR LoadCursor(int cursor_id) { | 798 HCURSOR LoadCursor(int cursor_id) { |
798 return NULL; | 799 return NULL; |
799 } | 800 } |
800 | 801 |
801 void GetPlugins(bool refresh, std::vector<WebPluginInfo>* plugins) { | 802 void GetPlugins(bool refresh, std::vector<WebPluginInfo>* plugins) { |
802 NPAPI::PluginList::Singleton()->GetPlugins(refresh, plugins); | 803 NPAPI::PluginList::Singleton()->GetPlugins(refresh, plugins); |
803 } | 804 } |
804 | 805 |
805 bool EnsureFontLoaded(HFONT font) { | 806 bool EnsureFontLoaded(HFONT font) { |
806 return true; | 807 return true; |
807 } | 808 } |
808 | 809 |
809 bool DownloadUrl(const std::string& url, HWND caller_window) { | 810 bool DownloadUrl(const std::string& url, HWND caller_window) { |
810 return false; | 811 return false; |
811 } | 812 } |
812 | 813 |
813 } // namespace webkit_glue | 814 } // namespace webkit_glue |
OLD | NEW |