| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 } | 47 } |
| 48 | 48 |
| 49 namespace mojo { | 49 namespace mojo { |
| 50 class NetworkService; | 50 class NetworkService; |
| 51 } | 51 } |
| 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; | |
| 58 class WebConvertableToTraceFormat; | 57 class WebConvertableToTraceFormat; |
| 59 class WebDiscardableMemory; | 58 class WebDiscardableMemory; |
| 60 class WebFallbackThemeEngine; | 59 class WebFallbackThemeEngine; |
| 61 class WebFlingAnimator; | |
| 62 class WebGraphicsContext3DProvider; | 60 class WebGraphicsContext3DProvider; |
| 63 class WebSandboxSupport; | 61 class WebSandboxSupport; |
| 64 struct WebFloatPoint; | 62 struct WebFloatPoint; |
| 65 class WebURL; | 63 class WebURL; |
| 66 class WebURLLoader; | 64 class WebURLLoader; |
| 67 class WebUnitTestSupport; | 65 class WebUnitTestSupport; |
| 68 struct WebLocalizedString; | 66 struct WebLocalizedString; |
| 69 struct WebSize; | 67 struct WebSize; |
| 70 | 68 |
| 71 class Platform { | 69 class Platform { |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 | 340 |
| 343 // Returns true if the platform is capable of producing an offscreen context
suitable for accelerating 2d canvas. | 341 // Returns true if the platform is capable of producing an offscreen context
suitable for accelerating 2d canvas. |
| 344 // This will return false if the platform cannot promise that contexts will
be preserved across operations like | 342 // This will return false if the platform cannot promise that contexts will
be preserved across operations like |
| 345 // locking the screen or if the platform cannot provide a context with suita
ble performance characteristics. | 343 // locking the screen or if the platform cannot provide a context with suita
ble performance characteristics. |
| 346 // | 344 // |
| 347 // This value must be checked again after a context loss event as the platfo
rm's capabilities may have changed. | 345 // This value must be checked again after a context loss event as the platfo
rm's capabilities may have changed. |
| 348 virtual bool canAccelerate2dCanvas() { return false; } | 346 virtual bool canAccelerate2dCanvas() { return false; } |
| 349 | 347 |
| 350 virtual bool isThreadedCompositingEnabled() { return false; } | 348 virtual bool isThreadedCompositingEnabled() { return false; } |
| 351 | 349 |
| 352 virtual WebCompositorSupport* compositorSupport() { return 0; } | |
| 353 | |
| 354 virtual WebFlingAnimator* createFlingAnimator() { return 0; } | |
| 355 | |
| 356 protected: | 350 protected: |
| 357 virtual ~Platform() { } | 351 virtual ~Platform() { } |
| 358 }; | 352 }; |
| 359 | 353 |
| 360 } // namespace blink | 354 } // namespace blink |
| 361 | 355 |
| 362 #endif // SKY_ENGINE_PUBLIC_PLATFORM_PLATFORM_H_ | 356 #endif // SKY_ENGINE_PUBLIC_PLATFORM_PLATFORM_H_ |
| OLD | NEW |