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

Side by Side Diff: trunk/src/content/renderer/renderer_webkitplatformsupport_impl.cc

Issue 17334006: Revert 207983 "Implement Web MIDI API back-end" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/renderer/renderer_webkitplatformsupport_impl.h" 5 #include "content/renderer/renderer_webkitplatformsupport_impl.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
10 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram.h"
(...skipping 13 matching lines...) Expand all
24 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" 24 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
25 #include "content/common/mime_registry_messages.h" 25 #include "content/common/mime_registry_messages.h"
26 #include "content/common/view_messages.h" 26 #include "content/common/view_messages.h"
27 #include "content/public/common/content_switches.h" 27 #include "content/public/common/content_switches.h"
28 #include "content/public/renderer/content_renderer_client.h" 28 #include "content/public/renderer/content_renderer_client.h"
29 #include "content/renderer/dom_storage/webstoragenamespace_impl.h" 29 #include "content/renderer/dom_storage/webstoragenamespace_impl.h"
30 #include "content/renderer/gamepad_shared_memory_reader.h" 30 #include "content/renderer/gamepad_shared_memory_reader.h"
31 #include "content/renderer/hyphenator/hyphenator.h" 31 #include "content/renderer/hyphenator/hyphenator.h"
32 #include "content/renderer/media/media_stream_dependency_factory.h" 32 #include "content/renderer/media/media_stream_dependency_factory.h"
33 #include "content/renderer/media/renderer_webaudiodevice_impl.h" 33 #include "content/renderer/media/renderer_webaudiodevice_impl.h"
34 #include "content/renderer/media/renderer_webmidiaccessor_impl.h"
35 #include "content/renderer/media/webcontentdecryptionmodule_impl.h" 34 #include "content/renderer/media/webcontentdecryptionmodule_impl.h"
36 #include "content/renderer/render_thread_impl.h" 35 #include "content/renderer/render_thread_impl.h"
37 #include "content/renderer/renderer_clipboard_client.h" 36 #include "content/renderer/renderer_clipboard_client.h"
38 #include "content/renderer/webclipboard_impl.h" 37 #include "content/renderer/webclipboard_impl.h"
39 #include "content/renderer/websharedworkerrepository_impl.h" 38 #include "content/renderer/websharedworkerrepository_impl.h"
40 #include "googleurl/src/gurl.h" 39 #include "googleurl/src/gurl.h"
41 #include "gpu/config/gpu_info.h" 40 #include "gpu/config/gpu_info.h"
42 #include "ipc/ipc_sync_message_filter.h" 41 #include "ipc/ipc_sync_message_filter.h"
43 #include "media/audio/audio_output_device.h" 42 #include "media/audio/audio_output_device.h"
44 #include "media/base/audio_hardware_config.h" 43 #include "media/base/audio_hardware_config.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 #include "base/file_descriptor_posix.h" 84 #include "base/file_descriptor_posix.h"
86 #endif 85 #endif
87 86
88 using WebKit::WebAudioDevice; 87 using WebKit::WebAudioDevice;
89 using WebKit::WebBlobRegistry; 88 using WebKit::WebBlobRegistry;
90 using WebKit::WebFileInfo; 89 using WebKit::WebFileInfo;
91 using WebKit::WebFileSystem; 90 using WebKit::WebFileSystem;
92 using WebKit::WebFrame; 91 using WebKit::WebFrame;
93 using WebKit::WebGamepads; 92 using WebKit::WebGamepads;
94 using WebKit::WebIDBFactory; 93 using WebKit::WebIDBFactory;
95 using WebKit::WebMIDIAccessor;
96 using WebKit::Platform; 94 using WebKit::Platform;
97 using WebKit::WebMediaStreamCenter; 95 using WebKit::WebMediaStreamCenter;
98 using WebKit::WebMediaStreamCenterClient; 96 using WebKit::WebMediaStreamCenterClient;
99 using WebKit::WebRTCPeerConnectionHandler; 97 using WebKit::WebRTCPeerConnectionHandler;
100 using WebKit::WebRTCPeerConnectionHandlerClient; 98 using WebKit::WebRTCPeerConnectionHandlerClient;
101 using WebKit::WebStorageNamespace; 99 using WebKit::WebStorageNamespace;
102 using WebKit::WebString; 100 using WebKit::WebString;
103 using WebKit::WebURL; 101 using WebKit::WebURL;
104 using WebKit::WebVector; 102 using WebKit::WebVector;
105 103
(...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after
766 //------------------------------------------------------------------------------ 764 //------------------------------------------------------------------------------
767 765
768 WebKit::WebContentDecryptionModule* 766 WebKit::WebContentDecryptionModule*
769 RendererWebKitPlatformSupportImpl::createContentDecryptionModule( 767 RendererWebKitPlatformSupportImpl::createContentDecryptionModule(
770 const WebKit::WebString& key_system) { 768 const WebKit::WebString& key_system) {
771 return WebContentDecryptionModuleImpl::Create(key_system); 769 return WebContentDecryptionModuleImpl::Create(key_system);
772 } 770 }
773 771
774 //------------------------------------------------------------------------------ 772 //------------------------------------------------------------------------------
775 773
776 WebKit::WebMIDIAccessor*
777 RendererWebKitPlatformSupportImpl::createMIDIAccessor(
778 WebKit::WebMIDIAccessorClient* client) {
779 return new RendererWebMIDIAccessorImpl(client);
780 }
781
782 //------------------------------------------------------------------------------
783
784 WebKit::WebString 774 WebKit::WebString
785 RendererWebKitPlatformSupportImpl::signedPublicKeyAndChallengeString( 775 RendererWebKitPlatformSupportImpl::signedPublicKeyAndChallengeString(
786 unsigned key_size_index, 776 unsigned key_size_index,
787 const WebKit::WebString& challenge, 777 const WebKit::WebString& challenge,
788 const WebKit::WebURL& url) { 778 const WebKit::WebURL& url) {
789 std::string signed_public_key; 779 std::string signed_public_key;
790 RenderThread::Get()->Send(new ViewHostMsg_Keygen( 780 RenderThread::Get()->Send(new ViewHostMsg_Keygen(
791 static_cast<uint32>(key_size_index), 781 static_cast<uint32>(key_size_index),
792 challenge.utf8(), 782 challenge.utf8(),
793 GURL(url), 783 GURL(url),
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
955 945
956 //------------------------------------------------------------------------------ 946 //------------------------------------------------------------------------------
957 947
958 WebKit::WebString RendererWebKitPlatformSupportImpl::convertIDNToUnicode( 948 WebKit::WebString RendererWebKitPlatformSupportImpl::convertIDNToUnicode(
959 const WebKit::WebString& host, 949 const WebKit::WebString& host,
960 const WebKit::WebString& languages) { 950 const WebKit::WebString& languages) {
961 return net::IDNToUnicode(host.utf8(), languages.utf8()); 951 return net::IDNToUnicode(host.utf8(), languages.utf8());
962 } 952 }
963 953
964 } // namespace content 954 } // namespace content
OLDNEW
« no previous file with comments | « trunk/src/content/renderer/renderer_webkitplatformsupport_impl.h ('k') | trunk/src/ipc/ipc_message_start.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698