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

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: 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 // May return null. 148 // May return null.
149 virtual WebCookieJar* cookieJar() { return nullptr; } 149 virtual WebCookieJar* cookieJar() { return nullptr; }
150 150
151 // Must return non-null. 151 // Must return non-null.
152 virtual WebClipboard* clipboard() { return nullptr; } 152 virtual WebClipboard* clipboard() { return nullptr; }
153 153
154 // Must return non-null. 154 // Must return non-null.
155 virtual WebFileUtilities* fileUtilities() { return nullptr; } 155 virtual WebFileUtilities* fileUtilities() { return nullptr; }
156 156
157 // Must return non-null. 157 // Must return non-null.
158 virtual WebMimeRegistry* mimeRegistry() { return nullptr; } 158 virtual WebMimeRegistry* mimeRegistry();
159 159
160 // May return null if sandbox support is not necessary 160 // May return null if sandbox support is not necessary
161 virtual WebSandboxSupport* sandboxSupport() { return nullptr; } 161 virtual WebSandboxSupport* sandboxSupport() { return nullptr; }
162 162
163 // May return null on some platforms. 163 // May return null on some platforms.
164 virtual WebThemeEngine* themeEngine() { return nullptr; } 164 virtual WebThemeEngine* themeEngine() { return nullptr; }
165 165
166 virtual WebFallbackThemeEngine* fallbackThemeEngine() { return nullptr; } 166 virtual WebFallbackThemeEngine* fallbackThemeEngine() { return nullptr; }
167 167
168 // May return null. 168 // May return null.
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
679 protected: 679 protected:
680 Platform(); 680 Platform();
681 virtual ~Platform() {} 681 virtual ~Platform() {}
682 682
683 WebThread* m_mainThread; 683 WebThread* m_mainThread;
684 }; 684 };
685 685
686 } // namespace blink 686 } // namespace blink
687 687
688 #endif 688 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698