| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 <ApplicationServices/ApplicationServices.h> | 5 #include <ApplicationServices/ApplicationServices.h> |
| 6 #import <Cocoa/Cocoa.h> | 6 #import <Cocoa/Cocoa.h> |
| 7 #import <objc/objc-runtime.h> | 7 #import <objc/objc-runtime.h> |
| 8 #include <sys/stat.h> | 8 #include <sys/stat.h> |
| 9 | 9 |
| 10 #include "webkit/tools/test_shell/test_shell.h" | 10 #include "webkit/tools/test_shell/test_shell.h" |
| (...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 698 case IDR_SEARCH_MAGNIFIER: | 698 case IDR_SEARCH_MAGNIFIER: |
| 699 case IDR_SEARCH_MAGNIFIER_RESULTS: | 699 case IDR_SEARCH_MAGNIFIER_RESULTS: |
| 700 case IDR_MEDIA_PAUSE_BUTTON: | 700 case IDR_MEDIA_PAUSE_BUTTON: |
| 701 case IDR_MEDIA_PLAY_BUTTON: | 701 case IDR_MEDIA_PLAY_BUTTON: |
| 702 case IDR_MEDIA_PLAY_BUTTON_DISABLED: | 702 case IDR_MEDIA_PLAY_BUTTON_DISABLED: |
| 703 case IDR_MEDIA_SOUND_FULL_BUTTON: | 703 case IDR_MEDIA_SOUND_FULL_BUTTON: |
| 704 case IDR_MEDIA_SOUND_NONE_BUTTON: | 704 case IDR_MEDIA_SOUND_NONE_BUTTON: |
| 705 case IDR_MEDIA_SOUND_DISABLED: | 705 case IDR_MEDIA_SOUND_DISABLED: |
| 706 case IDR_MEDIA_SLIDER_THUMB: | 706 case IDR_MEDIA_SLIDER_THUMB: |
| 707 case IDR_MEDIA_VOLUME_SLIDER_THUMB: | 707 case IDR_MEDIA_VOLUME_SLIDER_THUMB: |
| 708 case IDR_INPUT_SPEECH: |
| 709 case IDR_INPUT_SPEECH_RECORDING: |
| 710 case IDR_INPUT_SPEECH_WAITING: |
| 708 return TestShell::NetResourceProvider(resource_id); | 711 return TestShell::NetResourceProvider(resource_id); |
| 709 | 712 |
| 710 default: | 713 default: |
| 711 break; | 714 break; |
| 712 } | 715 } |
| 713 | 716 |
| 714 return base::StringPiece(); | 717 return base::StringPiece(); |
| 715 } | 718 } |
| 716 | 719 |
| 717 void GetPlugins(bool refresh, std::vector<WebPluginInfo>* plugins) { | 720 void GetPlugins(bool refresh, std::vector<WebPluginInfo>* plugins) { |
| 718 NPAPI::PluginList::Singleton()->GetPlugins(refresh, plugins); | 721 NPAPI::PluginList::Singleton()->GetPlugins(refresh, plugins); |
| 719 } | 722 } |
| 720 | 723 |
| 721 bool DownloadUrl(const std::string& url, NSWindow* caller_window) { | 724 bool DownloadUrl(const std::string& url, NSWindow* caller_window) { |
| 722 return false; | 725 return false; |
| 723 } | 726 } |
| 724 | 727 |
| 725 void DidLoadPlugin(const std::string& filename) { | 728 void DidLoadPlugin(const std::string& filename) { |
| 726 } | 729 } |
| 727 | 730 |
| 728 void DidUnloadPlugin(const std::string& filename) { | 731 void DidUnloadPlugin(const std::string& filename) { |
| 729 } | 732 } |
| 730 | 733 |
| 731 } // namespace webkit_glue | 734 } // namespace webkit_glue |
| OLD | NEW |