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

Side by Side Diff: third_party/WebKit/public/platform/Platform.h

Issue 2444873002: Move WebMIMERegistry impl from //content to blink:platform/network/mime (Closed)
Patch Set: remove indirection Created 4 years, 1 month 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 class WebInstalledApp; 91 class WebInstalledApp;
92 class WebMIDIAccessor; 92 class WebMIDIAccessor;
93 class WebMIDIAccessorClient; 93 class WebMIDIAccessorClient;
94 class WebMediaPlayer; 94 class WebMediaPlayer;
95 class WebMediaRecorderHandler; 95 class WebMediaRecorderHandler;
96 class WebMediaStream; 96 class WebMediaStream;
97 class WebMediaStreamCenter; 97 class WebMediaStreamCenter;
98 class WebMediaStreamCenterClient; 98 class WebMediaStreamCenterClient;
99 class WebMediaStreamTrack; 99 class WebMediaStreamTrack;
100 class WebMessagePortChannel; 100 class WebMessagePortChannel;
101 class WebMimeRegistry;
102 class WebNotificationManager; 101 class WebNotificationManager;
103 class WebPluginListBuilder; 102 class WebPluginListBuilder;
104 class WebPrescientNetworking; 103 class WebPrescientNetworking;
105 class WebProcessMemoryDump; 104 class WebProcessMemoryDump;
106 class WebPublicSuffixList; 105 class WebPublicSuffixList;
107 class WebPushProvider; 106 class WebPushProvider;
108 class WebRTCCertificateGenerator; 107 class WebRTCCertificateGenerator;
109 class WebRTCPeerConnectionHandler; 108 class WebRTCPeerConnectionHandler;
110 class WebRTCPeerConnectionHandlerClient; 109 class WebRTCPeerConnectionHandlerClient;
111 class WebSandboxSupport; 110 class WebSandboxSupport;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 146
148 // May return null. 147 // May return null.
149 virtual WebCookieJar* cookieJar() { return nullptr; } 148 virtual WebCookieJar* cookieJar() { return nullptr; }
150 149
151 // Must return non-null. 150 // Must return non-null.
152 virtual WebClipboard* clipboard() { return nullptr; } 151 virtual WebClipboard* clipboard() { return nullptr; }
153 152
154 // Must return non-null. 153 // Must return non-null.
155 virtual WebFileUtilities* fileUtilities() { return nullptr; } 154 virtual WebFileUtilities* fileUtilities() { return nullptr; }
156 155
157 // Must return non-null.
158 virtual WebMimeRegistry* mimeRegistry() { return nullptr; }
159
160 // May return null if sandbox support is not necessary 156 // May return null if sandbox support is not necessary
161 virtual WebSandboxSupport* sandboxSupport() { return nullptr; } 157 virtual WebSandboxSupport* sandboxSupport() { return nullptr; }
162 158
163 // May return null on some platforms. 159 // May return null on some platforms.
164 virtual WebThemeEngine* themeEngine() { return nullptr; } 160 virtual WebThemeEngine* themeEngine() { return nullptr; }
165 161
166 virtual WebFallbackThemeEngine* fallbackThemeEngine() { return nullptr; } 162 virtual WebFallbackThemeEngine* fallbackThemeEngine() { return nullptr; }
167 163
168 // May return null. 164 // May return null.
169 virtual WebSpeechSynthesizer* createSpeechSynthesizer( 165 virtual WebSpeechSynthesizer* createSpeechSynthesizer(
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
679 protected: 675 protected:
680 Platform(); 676 Platform();
681 virtual ~Platform() {} 677 virtual ~Platform() {}
682 678
683 WebThread* m_mainThread; 679 WebThread* m_mainThread;
684 }; 680 };
685 681
686 } // namespace blink 682 } // namespace blink
687 683
688 #endif 684 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698