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 22 matching lines...) Expand all Loading... | |
| 33 | 33 |
| 34 #ifdef WIN32 | 34 #ifdef WIN32 |
| 35 #include <windows.h> | 35 #include <windows.h> |
| 36 #endif | 36 #endif |
| 37 | 37 |
| 38 #include "WebAudioDevice.h" | 38 #include "WebAudioDevice.h" |
| 39 #include "WebCommon.h" | 39 #include "WebCommon.h" |
| 40 #include "WebData.h" | 40 #include "WebData.h" |
| 41 #include "WebGamepadListener.h" | 41 #include "WebGamepadListener.h" |
| 42 #include "WebGamepads.h" | 42 #include "WebGamepads.h" |
| 43 #include "WebGestureDevice.h" | |
| 43 #include "WebGraphicsContext3D.h" | 44 #include "WebGraphicsContext3D.h" |
| 44 #include "WebLocalizedString.h" | 45 #include "WebLocalizedString.h" |
| 45 #include "WebLockOrientationCallback.h" | 46 #include "WebLockOrientationCallback.h" |
| 46 #include "WebScreenOrientationLockType.h" | 47 #include "WebScreenOrientationLockType.h" |
| 47 #include "WebScreenOrientationType.h" | 48 #include "WebScreenOrientationType.h" |
| 48 #include "WebSpeechSynthesizer.h" | 49 #include "WebSpeechSynthesizer.h" |
| 49 #include "WebStorageQuotaCallbacks.h" | 50 #include "WebStorageQuotaCallbacks.h" |
| 50 #include "WebStorageQuotaType.h" | 51 #include "WebStorageQuotaType.h" |
| 51 #include "WebString.h" | 52 #include "WebString.h" |
| 52 #include "WebURLError.h" | 53 #include "WebURLError.h" |
| (...skipping 535 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 588 virtual bool isThreadedCompositingEnabled() { return false; } | 589 virtual bool isThreadedCompositingEnabled() { return false; } |
| 589 | 590 |
| 590 virtual WebCompositorSupport* compositorSupport() { return 0; } | 591 virtual WebCompositorSupport* compositorSupport() { return 0; } |
| 591 | 592 |
| 592 virtual WebFlingAnimator* createFlingAnimator() { return 0; } | 593 virtual WebFlingAnimator* createFlingAnimator() { return 0; } |
| 593 | 594 |
| 594 // Creates a new fling animation curve instance for device |deviceSource| | 595 // Creates a new fling animation curve instance for device |deviceSource| |
| 595 // with |velocity| and already scrolled |cumulativeScroll| pixels. | 596 // with |velocity| and already scrolled |cumulativeScroll| pixels. |
| 596 virtual WebGestureCurve* createFlingAnimationCurve(int deviceSource, const W ebFloatPoint& velocity, const WebSize& cumulativeScroll) { return 0; } | 597 virtual WebGestureCurve* createFlingAnimationCurve(int deviceSource, const W ebFloatPoint& velocity, const WebSize& cumulativeScroll) { return 0; } |
| 597 | 598 |
| 599 // TODO(rjkroege): Remove at end of http://crbug.com/343327 | |
|
dglazkov
2014/05/30 00:00:09
This doesn't need to be all bent to 80 chars. We'r
rjkroege
2014/05/30 01:00:20
Good to know. I'd fix except that I intend to dele
| |
| 600 virtual WebGestureCurve* createFlingAnimationCurve( | |
| 601 WebGestureDevice deviceSource, | |
| 602 const WebFloatPoint& velocity, | |
| 603 const WebSize& cumulativeScroll) | |
| 604 { | |
| 605 return createFlingAnimationCurve( | |
| 606 (int)deviceSource, velocity, cumulativeScroll); | |
| 607 } | |
| 598 | 608 |
| 599 // WebRTC ---------------------------------------------------------- | 609 // WebRTC ---------------------------------------------------------- |
| 600 | 610 |
| 601 // Creates an WebRTCPeerConnectionHandler for RTCPeerConnection. | 611 // Creates an WebRTCPeerConnectionHandler for RTCPeerConnection. |
| 602 // May return null if WebRTC functionality is not avaliable or out of resour ces. | 612 // May return null if WebRTC functionality is not avaliable or out of resour ces. |
| 603 virtual WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(WebRTCPe erConnectionHandlerClient*) { return 0; } | 613 virtual WebRTCPeerConnectionHandler* createRTCPeerConnectionHandler(WebRTCPe erConnectionHandlerClient*) { return 0; } |
| 604 | 614 |
| 605 // May return null if WebRTC functionality is not avaliable or out of resour ces. | 615 // May return null if WebRTC functionality is not avaliable or out of resour ces. |
| 606 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl ient*) { return 0; } | 616 virtual WebMediaStreamCenter* createMediaStreamCenter(WebMediaStreamCenterCl ient*) { return 0; } |
| 607 | 617 |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 664 virtual WebDatabaseObserver* databaseObserver() { return 0; } | 674 virtual WebDatabaseObserver* databaseObserver() { return 0; } |
| 665 | 675 |
| 666 | 676 |
| 667 protected: | 677 protected: |
| 668 virtual ~Platform() { } | 678 virtual ~Platform() { } |
| 669 }; | 679 }; |
| 670 | 680 |
| 671 } // namespace blink | 681 } // namespace blink |
| 672 | 682 |
| 673 #endif | 683 #endif |
| OLD | NEW |