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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 | 206 |
207 virtual WebString convertIDNToUnicode(const WebString& host, const WebString
& languages) { return host; } | 207 virtual WebString convertIDNToUnicode(const WebString& host, const WebString
& languages) { return host; } |
208 | 208 |
209 | 209 |
210 // IndexedDB ---------------------------------------------------------- | 210 // IndexedDB ---------------------------------------------------------- |
211 | 211 |
212 // Must return non-null. | 212 // Must return non-null. |
213 virtual WebIDBFactory* idbFactory() { return 0; } | 213 virtual WebIDBFactory* idbFactory() { return 0; } |
214 | 214 |
215 | 215 |
| 216 // Resume Gamepad polling ---------------------------------------------- |
| 217 |
| 218 virtual void resumeGamepads() { } |
| 219 |
| 220 |
| 221 // Pause Gamepad polling ------------------------------------------------ |
| 222 |
| 223 virtual void pauseGamepads() { } |
| 224 |
216 // Gamepad ------------------------------------------------------------- | 225 // Gamepad ------------------------------------------------------------- |
217 | 226 |
218 virtual void sampleGamepads(WebGamepads& into) { into.length = 0; } | 227 virtual void sampleGamepads(WebGamepads& into) { into.length = 0; } |
219 | 228 |
220 | 229 |
221 // History ------------------------------------------------------------- | 230 // History ------------------------------------------------------------- |
222 | 231 |
223 // Returns the hash for the given canonicalized URL for use in visited | 232 // Returns the hash for the given canonicalized URL for use in visited |
224 // link coloring. | 233 // link coloring. |
225 virtual unsigned long long visitedLinkHash( | 234 virtual unsigned long long visitedLinkHash( |
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
626 virtual WebDatabaseObserver* databaseObserver() { return 0; } | 635 virtual WebDatabaseObserver* databaseObserver() { return 0; } |
627 | 636 |
628 | 637 |
629 protected: | 638 protected: |
630 virtual ~Platform() { } | 639 virtual ~Platform() { } |
631 }; | 640 }; |
632 | 641 |
633 } // namespace blink | 642 } // namespace blink |
634 | 643 |
635 #endif | 644 #endif |
OLD | NEW |