| 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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 | 264 |
| 265 // Cache Storage ---------------------------------------------------------- | 265 // Cache Storage ---------------------------------------------------------- |
| 266 | 266 |
| 267 // The caller is responsible for deleting the returned object. | 267 // The caller is responsible for deleting the returned object. |
| 268 virtual WebServiceWorkerCacheStorage* cacheStorage(const WebSecurityOrigin&) { | 268 virtual WebServiceWorkerCacheStorage* cacheStorage(const WebSecurityOrigin&) { |
| 269 return nullptr; | 269 return nullptr; |
| 270 } | 270 } |
| 271 | 271 |
| 272 // Gamepad ------------------------------------------------------------- | 272 // Gamepad ------------------------------------------------------------- |
| 273 | 273 |
| 274 virtual void sampleGamepads(WebGamepads& into) { into.length = 0; } | 274 virtual void sampleGamepads(WebGamepads& into) {} |
| 275 | 275 |
| 276 // History ------------------------------------------------------------- | 276 // History ------------------------------------------------------------- |
| 277 | 277 |
| 278 // Returns the hash for the given canonicalized URL for use in visited | 278 // Returns the hash for the given canonicalized URL for use in visited |
| 279 // link coloring. | 279 // link coloring. |
| 280 virtual unsigned long long visitedLinkHash(const char* canonicalURL, | 280 virtual unsigned long long visitedLinkHash(const char* canonicalURL, |
| 281 size_t length) { | 281 size_t length) { |
| 282 return 0; | 282 return 0; |
| 283 } | 283 } |
| 284 | 284 |
| (...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 675 protected: | 675 protected: |
| 676 Platform(); | 676 Platform(); |
| 677 virtual ~Platform() {} | 677 virtual ~Platform() {} |
| 678 | 678 |
| 679 WebThread* m_mainThread; | 679 WebThread* m_mainThread; |
| 680 }; | 680 }; |
| 681 | 681 |
| 682 } // namespace blink | 682 } // namespace blink |
| 683 | 683 |
| 684 #endif | 684 #endif |
| OLD | NEW |