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 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
540 | 540 |
541 | 541 |
542 // WebWorker ---------------------------------------------------------- | 542 // WebWorker ---------------------------------------------------------- |
543 | 543 |
544 virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { } | 544 virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { } |
545 virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { } | 545 virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { } |
546 | 546 |
547 | 547 |
548 // WebCrypto ---------------------------------------------------------- | 548 // WebCrypto ---------------------------------------------------------- |
549 | 549 |
550 // May return 0. | |
551 virtual WebCrypto* crypto() { return 0; } | 550 virtual WebCrypto* crypto() { return 0; } |
552 | 551 |
553 | 552 |
554 // Device Motion / Orientation ---------------------------------------- | 553 // Device Motion / Orientation ---------------------------------------- |
555 | 554 |
556 // Sets a Listener to listen for device motion data updates. | 555 // Sets a Listener to listen for device motion data updates. |
557 // If null, the platform stops providing device motion data to the current l
istener. | 556 // If null, the platform stops providing device motion data to the current l
istener. |
558 virtual void setDeviceMotionListener(WebKit::WebDeviceMotionListener*) { } | 557 virtual void setDeviceMotionListener(WebKit::WebDeviceMotionListener*) { } |
559 | 558 |
560 // Sets a Listener to listen for device orientation data updates. | 559 // Sets a Listener to listen for device orientation data updates. |
(...skipping 15 matching lines...) Expand all Loading... |
576 WebStorageQuotaType, | 575 WebStorageQuotaType, |
577 WebStorageQuotaCallbacks*) { } | 576 WebStorageQuotaCallbacks*) { } |
578 | 577 |
579 protected: | 578 protected: |
580 virtual ~Platform() { } | 579 virtual ~Platform() { } |
581 }; | 580 }; |
582 | 581 |
583 } // namespace WebKit | 582 } // namespace WebKit |
584 | 583 |
585 #endif | 584 #endif |
OLD | NEW |