| OLD | NEW |
| 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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 | 225 |
| 226 // IndexedDB ---------------------------------------------------------- | 226 // IndexedDB ---------------------------------------------------------- |
| 227 | 227 |
| 228 // Must return non-null. | 228 // Must return non-null. |
| 229 virtual WebIDBFactory* idbFactory() { return nullptr; } | 229 virtual WebIDBFactory* idbFactory() { return nullptr; } |
| 230 | 230 |
| 231 | 231 |
| 232 // Cache Storage ---------------------------------------------------------- | 232 // Cache Storage ---------------------------------------------------------- |
| 233 | 233 |
| 234 // The caller is responsible for deleting the returned object. | 234 // The caller is responsible for deleting the returned object. |
| 235 virtual WebServiceWorkerCacheStorage* cacheStorage(const WebString& originId
entifier) { return nullptr; } | 235 virtual WebServiceWorkerCacheStorage* cacheStorage(const WebSecurityOrigin&)
{ return nullptr; } |
| 236 | 236 |
| 237 // Gamepad ------------------------------------------------------------- | 237 // Gamepad ------------------------------------------------------------- |
| 238 | 238 |
| 239 virtual void sampleGamepads(WebGamepads& into) { into.length = 0; } | 239 virtual void sampleGamepads(WebGamepads& into) { into.length = 0; } |
| 240 | 240 |
| 241 // History ------------------------------------------------------------- | 241 // History ------------------------------------------------------------- |
| 242 | 242 |
| 243 // Returns the hash for the given canonicalized URL for use in visited | 243 // Returns the hash for the given canonicalized URL for use in visited |
| 244 // link coloring. | 244 // link coloring. |
| 245 virtual unsigned long long visitedLinkHash( | 245 virtual unsigned long long visitedLinkHash( |
| (...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 611 protected: | 611 protected: |
| 612 BLINK_PLATFORM_EXPORT Platform(); | 612 BLINK_PLATFORM_EXPORT Platform(); |
| 613 virtual ~Platform() { } | 613 virtual ~Platform() { } |
| 614 | 614 |
| 615 WebThread* m_mainThread; | 615 WebThread* m_mainThread; |
| 616 }; | 616 }; |
| 617 | 617 |
| 618 } // namespace blink | 618 } // namespace blink |
| 619 | 619 |
| 620 #endif | 620 #endif |
| OLD | NEW |