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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 54 namespace blink { | 54 namespace blink { |
| 55 | 55 |
| 56 class WebAudioBus; | 56 class WebAudioBus; |
| 57 class WebBlobRegistry; | 57 class WebBlobRegistry; |
| 58 class WebContentDecryptionModule; | 58 class WebContentDecryptionModule; |
| 59 class WebClipboard; | 59 class WebClipboard; |
| 60 class WebCompositorSupport; | 60 class WebCompositorSupport; |
| 61 class WebCookieJar; | 61 class WebCookieJar; |
| 62 class WebCrypto; | 62 class WebCrypto; |
| 63 class WebDatabaseObserver; | 63 class WebDatabaseObserver; |
| 64 class WebDeviceLightListener; | |
| 64 class WebDeviceMotionListener; | 65 class WebDeviceMotionListener; |
| 65 class WebDeviceOrientationListener; | 66 class WebDeviceOrientationListener; |
| 66 class WebDiscardableMemory; | 67 class WebDiscardableMemory; |
| 67 class WebFallbackThemeEngine; | 68 class WebFallbackThemeEngine; |
| 68 class WebFileSystem; | 69 class WebFileSystem; |
| 69 class WebFileUtilities; | 70 class WebFileUtilities; |
| 70 class WebFlingAnimator; | 71 class WebFlingAnimator; |
| 71 class WebGestureCurveTarget; | 72 class WebGestureCurveTarget; |
| 72 class WebGestureCurve; | 73 class WebGestureCurve; |
| 73 class WebGraphicsContext3DProvider; | 74 class WebGraphicsContext3DProvider; |
| (...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 597 | 598 |
| 598 virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { } | 599 virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { } |
| 599 virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { } | 600 virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { } |
| 600 | 601 |
| 601 | 602 |
| 602 // WebCrypto ---------------------------------------------------------- | 603 // WebCrypto ---------------------------------------------------------- |
| 603 | 604 |
| 604 virtual WebCrypto* crypto() { return 0; } | 605 virtual WebCrypto* crypto() { return 0; } |
| 605 | 606 |
| 606 | 607 |
| 607 // Device Motion / Orientation ---------------------------------------- | 608 // Device Motion / Orientation / Light ------------------------------------- --- |
| 608 | 609 |
| 609 // Sets a Listener to listen for device motion data updates. | 610 // Sets a Listener to listen for device motion data updates. |
| 610 // If null, the platform stops providing device motion data to the current l istener. | 611 // If null, the platform stops providing device motion data to the current l istener. |
| 611 virtual void setDeviceMotionListener(blink::WebDeviceMotionListener*) { } | 612 virtual void setDeviceMotionListener(blink::WebDeviceMotionListener*) { } |
| 612 | 613 |
| 613 // Sets a Listener to listen for device orientation data updates. | 614 // Sets a Listener to listen for device orientation data updates. |
| 614 // If null, the platform stops proving device orientation data to the curren t listener. | 615 // If null, the platform stops providing device orientation data to the curr ent listener. |
| 615 virtual void setDeviceOrientationListener(blink::WebDeviceOrientationListene r*) { } | 616 virtual void setDeviceOrientationListener(blink::WebDeviceOrientationListene r*) { } |
| 616 | 617 |
| 618 // Sets a Listener to listen for device light data updates. | |
| 619 // If null, the platform stops providing device light data to the current li stener. | |
| 620 virtual void setDeviceLightListener(blink::WebDeviceLightListener*) { } | |
| 621 | |
|
abarth-chromium
2014/03/04 18:59:32
Two blank lines between sections.
riju_
2014/03/05 15:47:27
Done.
| |
| 617 // Screen Orientation ------------------------------------------------- | 622 // Screen Orientation ------------------------------------------------- |
| 618 | 623 |
| 619 virtual void setScreenOrientationListener(blink::WebScreenOrientationListene r*) { } | 624 virtual void setScreenOrientationListener(blink::WebScreenOrientationListene r*) { } |
| 620 virtual void lockOrientation(WebScreenOrientations) { } | 625 virtual void lockOrientation(WebScreenOrientations) { } |
| 621 virtual void unlockOrientation() { } | 626 virtual void unlockOrientation() { } |
| 622 | 627 |
| 623 | 628 |
| 629 | |
|
abarth-chromium
2014/03/04 18:59:32
You've got an extra blank line here.
riju_
2014/03/05 15:47:27
Done.
| |
| 624 // Quota ----------------------------------------------------------- | 630 // Quota ----------------------------------------------------------- |
| 625 | 631 |
| 626 // Queries the storage partition's storage usage and quota information. | 632 // Queries the storage partition's storage usage and quota information. |
| 627 // WebStorageQuotaCallbacks::didQueryStorageUsageAndQuota will be called | 633 // WebStorageQuotaCallbacks::didQueryStorageUsageAndQuota will be called |
| 628 // with the current usage and quota information for the partition. When | 634 // with the current usage and quota information for the partition. When |
| 629 // an error occurs WebStorageQuotaCallbacks::didFail is called with an | 635 // an error occurs WebStorageQuotaCallbacks::didFail is called with an |
| 630 // error code. | 636 // error code. |
| 631 virtual void queryStorageUsageAndQuota( | 637 virtual void queryStorageUsageAndQuota( |
| 632 const WebURL& storagePartition, | 638 const WebURL& storagePartition, |
| 633 WebStorageQuotaType, | 639 WebStorageQuotaType, |
| 634 WebStorageQuotaCallbacks) { } | 640 WebStorageQuotaCallbacks) { } |
| 635 | 641 |
| 636 | 642 |
| 637 // WebDatabase -------------------------------------------------------- | 643 // WebDatabase -------------------------------------------------------- |
| 638 | 644 |
| 639 virtual WebDatabaseObserver* databaseObserver() { return 0; } | 645 virtual WebDatabaseObserver* databaseObserver() { return 0; } |
| 640 | 646 |
| 641 | 647 |
| 642 protected: | 648 protected: |
| 643 virtual ~Platform() { } | 649 virtual ~Platform() { } |
| 644 }; | 650 }; |
| 645 | 651 |
| 646 } // namespace blink | 652 } // namespace blink |
| 647 | 653 |
| 648 #endif | 654 #endif |
| OLD | NEW |