| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 | 52 |
| 53 namespace blink { | 53 namespace blink { |
| 54 | 54 |
| 55 class WebBlobRegistry; | 55 class WebBlobRegistry; |
| 56 class WebClipboard; | 56 class WebClipboard; |
| 57 class WebCompositorSupport; | 57 class WebCompositorSupport; |
| 58 class WebConvertableToTraceFormat; | 58 class WebConvertableToTraceFormat; |
| 59 class WebDiscardableMemory; | 59 class WebDiscardableMemory; |
| 60 class WebFallbackThemeEngine; | 60 class WebFallbackThemeEngine; |
| 61 class WebFlingAnimator; | 61 class WebFlingAnimator; |
| 62 class WebGestureCurveTarget; | |
| 63 class WebGestureCurve; | |
| 64 class WebGraphicsContext3DProvider; | 62 class WebGraphicsContext3DProvider; |
| 65 class WebSandboxSupport; | 63 class WebSandboxSupport; |
| 66 struct WebFloatPoint; | 64 struct WebFloatPoint; |
| 67 class WebURL; | 65 class WebURL; |
| 68 class WebURLLoader; | 66 class WebURLLoader; |
| 69 class WebUnitTestSupport; | 67 class WebUnitTestSupport; |
| 70 struct WebLocalizedString; | 68 struct WebLocalizedString; |
| 71 struct WebSize; | 69 struct WebSize; |
| 72 | 70 |
| 73 class Platform { | 71 class Platform { |
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 // | 346 // |
| 349 // This value must be checked again after a context loss event as the platfo
rm's capabilities may have changed. | 347 // This value must be checked again after a context loss event as the platfo
rm's capabilities may have changed. |
| 350 virtual bool canAccelerate2dCanvas() { return false; } | 348 virtual bool canAccelerate2dCanvas() { return false; } |
| 351 | 349 |
| 352 virtual bool isThreadedCompositingEnabled() { return false; } | 350 virtual bool isThreadedCompositingEnabled() { return false; } |
| 353 | 351 |
| 354 virtual WebCompositorSupport* compositorSupport() { return 0; } | 352 virtual WebCompositorSupport* compositorSupport() { return 0; } |
| 355 | 353 |
| 356 virtual WebFlingAnimator* createFlingAnimator() { return 0; } | 354 virtual WebFlingAnimator* createFlingAnimator() { return 0; } |
| 357 | 355 |
| 358 // Creates a new fling animation curve instance for device |deviceSource| | |
| 359 // with |velocity| and already scrolled |cumulativeScroll| pixels. | |
| 360 virtual WebGestureCurve* createFlingAnimationCurve(WebGestureDevice deviceSo
urce, const WebFloatPoint& velocity, const WebSize& cumulativeScroll) { return 0
; } | |
| 361 | |
| 362 protected: | 356 protected: |
| 363 virtual ~Platform() { } | 357 virtual ~Platform() { } |
| 364 }; | 358 }; |
| 365 | 359 |
| 366 } // namespace blink | 360 } // namespace blink |
| 367 | 361 |
| 368 #endif // SKY_ENGINE_PUBLIC_PLATFORM_PLATFORM_H_ | 362 #endif // SKY_ENGINE_PUBLIC_PLATFORM_PLATFORM_H_ |
| OLD | NEW |