Chromium Code Reviews| 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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 213 // IndexedDB ---------------------------------------------------------- | 213 // IndexedDB ---------------------------------------------------------- |
| 214 | 214 |
| 215 // Must return non-null. | 215 // Must return non-null. |
| 216 virtual WebIDBFactory* idbFactory() { return 0; } | 216 virtual WebIDBFactory* idbFactory() { return 0; } |
| 217 | 217 |
| 218 | 218 |
| 219 // Gamepad ------------------------------------------------------------- | 219 // Gamepad ------------------------------------------------------------- |
| 220 | 220 |
| 221 virtual void sampleGamepads(WebGamepads& into) { into.length = 0; } | 221 virtual void sampleGamepads(WebGamepads& into) { into.length = 0; } |
| 222 | 222 |
| 223 virtual void setGamepadListener(WebGamepadListener* listener) { } | |
|
Inactive
2014/03/14 19:46:08
"listener" can be omitted.
kbalazs
2014/03/14 23:51:27
Done.
| |
| 223 | 224 |
| 224 // History ------------------------------------------------------------- | 225 // History ------------------------------------------------------------- |
| 225 | 226 |
| 226 // Returns the hash for the given canonicalized URL for use in visited | 227 // Returns the hash for the given canonicalized URL for use in visited |
| 227 // link coloring. | 228 // link coloring. |
| 228 virtual unsigned long long visitedLinkHash( | 229 virtual unsigned long long visitedLinkHash( |
| 229 const char* canonicalURL, size_t length) { return 0; } | 230 const char* canonicalURL, size_t length) { return 0; } |
| 230 | 231 |
| 231 // Returns whether the given link hash is in the user's history. The | 232 // Returns whether the given link hash is in the user's history. The |
| 232 // hash must have been generated by calling VisitedLinkHash(). | 233 // hash must have been generated by calling VisitedLinkHash(). |
| (...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 638 virtual WebDatabaseObserver* databaseObserver() { return 0; } | 639 virtual WebDatabaseObserver* databaseObserver() { return 0; } |
| 639 | 640 |
| 640 | 641 |
| 641 protected: | 642 protected: |
| 642 virtual ~Platform() { } | 643 virtual ~Platform() { } |
| 643 }; | 644 }; |
| 644 | 645 |
| 645 } // namespace blink | 646 } // namespace blink |
| 646 | 647 |
| 647 #endif | 648 #endif |
| OLD | NEW |