| 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 722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 733 } | 733 } |
| 734 return resize_corner_data; | 734 return resize_corner_data; |
| 735 } | 735 } |
| 736 | 736 |
| 737 case IDR_SEARCH_CANCEL: | 737 case IDR_SEARCH_CANCEL: |
| 738 case IDR_SEARCH_CANCEL_PRESSED: | 738 case IDR_SEARCH_CANCEL_PRESSED: |
| 739 case IDR_SEARCH_MAGNIFIER: | 739 case IDR_SEARCH_MAGNIFIER: |
| 740 case IDR_SEARCH_MAGNIFIER_RESULTS: | 740 case IDR_SEARCH_MAGNIFIER_RESULTS: |
| 741 case IDR_MEDIA_PAUSE_BUTTON: | 741 case IDR_MEDIA_PAUSE_BUTTON: |
| 742 case IDR_MEDIA_PLAY_BUTTON: | 742 case IDR_MEDIA_PLAY_BUTTON: |
| 743 case IDR_MEDIA_PLAY_BUTTON_DISABLED: |
| 743 case IDR_MEDIA_SOUND_FULL_BUTTON: | 744 case IDR_MEDIA_SOUND_FULL_BUTTON: |
| 744 case IDR_MEDIA_SOUND_NONE_BUTTON: | 745 case IDR_MEDIA_SOUND_NONE_BUTTON: |
| 746 case IDR_MEDIA_SOUND_DISABLED: |
| 745 case IDR_MEDIA_SLIDER_THUMB: | 747 case IDR_MEDIA_SLIDER_THUMB: |
| 746 return NetResourceProvider(resource_id); | 748 return NetResourceProvider(resource_id); |
| 747 | 749 |
| 748 default: | 750 default: |
| 749 break; | 751 break; |
| 750 } | 752 } |
| 751 | 753 |
| 752 return StringPiece(); | 754 return StringPiece(); |
| 753 } | 755 } |
| 754 | 756 |
| 755 HCURSOR LoadCursor(int cursor_id) { | 757 HCURSOR LoadCursor(int cursor_id) { |
| 756 return NULL; | 758 return NULL; |
| 757 } | 759 } |
| 758 | 760 |
| 759 bool GetPlugins(bool refresh, std::vector<WebPluginInfo>* plugins) { | 761 bool GetPlugins(bool refresh, std::vector<WebPluginInfo>* plugins) { |
| 760 return NPAPI::PluginList::Singleton()->GetPlugins(refresh, plugins); | 762 return NPAPI::PluginList::Singleton()->GetPlugins(refresh, plugins); |
| 761 } | 763 } |
| 762 | 764 |
| 763 bool EnsureFontLoaded(HFONT font) { | 765 bool EnsureFontLoaded(HFONT font) { |
| 764 return true; | 766 return true; |
| 765 } | 767 } |
| 766 | 768 |
| 767 bool DownloadUrl(const std::string& url, HWND caller_window) { | 769 bool DownloadUrl(const std::string& url, HWND caller_window) { |
| 768 return false; | 770 return false; |
| 769 } | 771 } |
| 770 | 772 |
| 771 } // namespace webkit_glue | 773 } // namespace webkit_glue |
| OLD | NEW |