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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 class WebAudioBus; | 57 class WebAudioBus; |
58 class WebBatteryStatusListener; | 58 class WebBatteryStatusListener; |
59 class WebBlobRegistry; | 59 class WebBlobRegistry; |
60 class WebContentDecryptionModule; | 60 class WebContentDecryptionModule; |
61 class WebClipboard; | 61 class WebClipboard; |
62 class WebCompositorSupport; | 62 class WebCompositorSupport; |
63 class WebConvertableToTraceFormat; | 63 class WebConvertableToTraceFormat; |
64 class WebCookieJar; | 64 class WebCookieJar; |
65 class WebCrypto; | 65 class WebCrypto; |
66 class WebDatabaseObserver; | 66 class WebDatabaseObserver; |
| 67 class WebDeviceLightListener; |
67 class WebDeviceMotionListener; | 68 class WebDeviceMotionListener; |
68 class WebDeviceOrientationListener; | 69 class WebDeviceOrientationListener; |
69 class WebDiscardableMemory; | 70 class WebDiscardableMemory; |
70 class WebFallbackThemeEngine; | 71 class WebFallbackThemeEngine; |
71 class WebFileSystem; | 72 class WebFileSystem; |
72 class WebFileUtilities; | 73 class WebFileUtilities; |
73 class WebFlingAnimator; | 74 class WebFlingAnimator; |
74 class WebGestureCurveTarget; | 75 class WebGestureCurveTarget; |
75 class WebGestureCurve; | 76 class WebGestureCurve; |
76 class WebGraphicsContext3DProvider; | 77 class WebGraphicsContext3DProvider; |
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
607 | 608 |
608 virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { } | 609 virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { } |
609 virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { } | 610 virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { } |
610 | 611 |
611 | 612 |
612 // WebCrypto ---------------------------------------------------------- | 613 // WebCrypto ---------------------------------------------------------- |
613 | 614 |
614 virtual WebCrypto* crypto() { return 0; } | 615 virtual WebCrypto* crypto() { return 0; } |
615 | 616 |
616 | 617 |
617 // Device Motion / Orientation ---------------------------------------- | 618 // Device Motion / Orientation / Light -------------------------------------
--- |
618 | 619 |
619 // Sets a Listener to listen for device motion data updates. | 620 // Sets a Listener to listen for device motion data updates. |
620 // If null, the platform stops providing device motion data to the current l
istener. | 621 // If null, the platform stops providing device motion data to the current l
istener. |
621 virtual void setDeviceMotionListener(blink::WebDeviceMotionListener*) { } | 622 virtual void setDeviceMotionListener(blink::WebDeviceMotionListener*) { } |
622 | 623 |
623 // Sets a Listener to listen for device orientation data updates. | 624 // Sets a Listener to listen for device orientation data updates. |
624 // If null, the platform stops proving device orientation data to the curren
t listener. | 625 // If null, the platform stops providing device orientation data to the curr
ent listener. |
625 virtual void setDeviceOrientationListener(blink::WebDeviceOrientationListene
r*) { } | 626 virtual void setDeviceOrientationListener(blink::WebDeviceOrientationListene
r*) { } |
626 | 627 |
| 628 // Sets a Listener to listen for device light data updates. |
| 629 // If null, the platform stops providing device light data to the current li
stener. |
| 630 virtual void setDeviceLightListener(blink::WebDeviceLightListener*) { } |
| 631 |
| 632 |
627 // Screen Orientation ------------------------------------------------- | 633 // Screen Orientation ------------------------------------------------- |
628 | 634 |
629 virtual void setScreenOrientationListener(blink::WebScreenOrientationListene
r*) { } | 635 virtual void setScreenOrientationListener(blink::WebScreenOrientationListene
r*) { } |
630 virtual void lockOrientation(WebScreenOrientationLockType) { } | 636 virtual void lockOrientation(WebScreenOrientationLockType) { } |
631 virtual void unlockOrientation() { } | 637 virtual void unlockOrientation() { } |
632 | 638 |
633 | 639 |
634 // Quota ----------------------------------------------------------- | 640 // Quota ----------------------------------------------------------- |
635 | 641 |
636 // Queries the storage partition's storage usage and quota information. | 642 // Queries the storage partition's storage usage and quota information. |
(...skipping 12 matching lines...) Expand all Loading... |
649 virtual WebDatabaseObserver* databaseObserver() { return 0; } | 655 virtual WebDatabaseObserver* databaseObserver() { return 0; } |
650 | 656 |
651 | 657 |
652 protected: | 658 protected: |
653 virtual ~Platform() { } | 659 virtual ~Platform() { } |
654 }; | 660 }; |
655 | 661 |
656 } // namespace blink | 662 } // namespace blink |
657 | 663 |
658 #endif | 664 #endif |
OLD | NEW |