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

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

Issue 1963293002: Replacing Indexed DB Chromium IPC with Mojo Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some (incomplete) work on struct traits. Created 4 years, 5 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
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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 class WebCookieJar; 73 class WebCookieJar;
74 class WebCrypto; 74 class WebCrypto;
75 class WebDatabaseObserver; 75 class WebDatabaseObserver;
76 class WebPlatformEventListener; 76 class WebPlatformEventListener;
77 class WebFallbackThemeEngine; 77 class WebFallbackThemeEngine;
78 class WebFileSystem; 78 class WebFileSystem;
79 class WebFileUtilities; 79 class WebFileUtilities;
80 class WebFlingAnimator; 80 class WebFlingAnimator;
81 class WebGestureCurve; 81 class WebGestureCurve;
82 class WebGraphicsContext3DProvider; 82 class WebGraphicsContext3DProvider;
83 class WebIDBFactory;
84 class WebImageCaptureFrameGrabber; 83 class WebImageCaptureFrameGrabber;
85 class WebInstalledApp; 84 class WebInstalledApp;
86 class WebMIDIAccessor; 85 class WebMIDIAccessor;
87 class WebMIDIAccessorClient; 86 class WebMIDIAccessorClient;
88 class WebMediaPlayer; 87 class WebMediaPlayer;
89 class WebMediaRecorderHandler; 88 class WebMediaRecorderHandler;
90 class WebMediaStream; 89 class WebMediaStream;
91 class WebMediaStreamCenter; 90 class WebMediaStreamCenter;
92 class WebMediaStreamCenterClient; 91 class WebMediaStreamCenterClient;
93 class WebMediaStreamTrack; 92 class WebMediaStreamTrack;
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 virtual WebFileSystem* fileSystem() { return nullptr; } 223 virtual WebFileSystem* fileSystem() { return nullptr; }
225 224
226 // Return a filename-friendly identifier for an origin. 225 // Return a filename-friendly identifier for an origin.
227 virtual WebString fileSystemCreateOriginIdentifier(const WebSecurityOrigin& origin) { return WebString(); } 226 virtual WebString fileSystemCreateOriginIdentifier(const WebSecurityOrigin& origin) { return WebString(); }
228 227
229 // IDN conversion ------------------------------------------------------ 228 // IDN conversion ------------------------------------------------------
230 229
231 virtual WebString convertIDNToUnicode(const WebString& host) { return host; } 230 virtual WebString convertIDNToUnicode(const WebString& host) { return host; }
232 231
233 232
234 // IndexedDB ----------------------------------------------------------
235
236 // Must return non-null.
237 virtual WebIDBFactory* idbFactory() { return nullptr; }
238
239
240 // Cache Storage ---------------------------------------------------------- 233 // Cache Storage ----------------------------------------------------------
241 234
242 // The caller is responsible for deleting the returned object. 235 // The caller is responsible for deleting the returned object.
243 virtual WebServiceWorkerCacheStorage* cacheStorage(const WebSecurityOrigin&) { return nullptr; } 236 virtual WebServiceWorkerCacheStorage* cacheStorage(const WebSecurityOrigin&) { return nullptr; }
244 237
245 // Gamepad ------------------------------------------------------------- 238 // Gamepad -------------------------------------------------------------
246 239
247 virtual void sampleGamepads(WebGamepads& into) { into.length = 0; } 240 virtual void sampleGamepads(WebGamepads& into) { into.length = 0; }
248 241
249 // History ------------------------------------------------------------- 242 // History -------------------------------------------------------------
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 protected: 592 protected:
600 Platform(); 593 Platform();
601 virtual ~Platform() { } 594 virtual ~Platform() { }
602 595
603 WebThread* m_mainThread; 596 WebThread* m_mainThread;
604 }; 597 };
605 598
606 } // namespace blink 599 } // namespace blink
607 600
608 #endif 601 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698