| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 #include "WebStorageQuotaCallbacks.h" | 51 #include "WebStorageQuotaCallbacks.h" |
| 52 #include "WebStorageQuotaType.h" | 52 #include "WebStorageQuotaType.h" |
| 53 #include "WebString.h" | 53 #include "WebString.h" |
| 54 #include "WebURLError.h" | 54 #include "WebURLError.h" |
| 55 #include "WebVector.h" | 55 #include "WebVector.h" |
| 56 #include "base/metrics/user_metrics_action.h" | 56 #include "base/metrics/user_metrics_action.h" |
| 57 #include "cc/resources/shared_bitmap.h" | 57 #include "cc/resources/shared_bitmap.h" |
| 58 | 58 |
| 59 class GrContext; | 59 class GrContext; |
| 60 | 60 |
| 61 namespace gpu { |
| 62 class GpuMemoryBufferManager; |
| 63 } |
| 64 |
| 61 namespace v8 { | 65 namespace v8 { |
| 62 class Context; | 66 class Context; |
| 63 template<class T> class Local; | 67 template<class T> class Local; |
| 64 } | 68 } |
| 65 | 69 |
| 66 namespace blink { | 70 namespace blink { |
| 67 | 71 |
| 68 class InterfaceProvider; | 72 class InterfaceProvider; |
| 69 class WebAudioBus; | 73 class WebAudioBus; |
| 70 class WebBlobRegistry; | 74 class WebBlobRegistry; |
| (...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 437 const ContextAttributes&, | 441 const ContextAttributes&, |
| 438 const WebURL& topDocumentURL, | 442 const WebURL& topDocumentURL, |
| 439 WebGraphicsContext3DProvider* shareContext, | 443 WebGraphicsContext3DProvider* shareContext, |
| 440 GraphicsInfo*) { return nullptr; } | 444 GraphicsInfo*) { return nullptr; } |
| 441 | 445 |
| 442 // Returns a newly allocated and initialized offscreen context provider, | 446 // Returns a newly allocated and initialized offscreen context provider, |
| 443 // backed by the process-wide shared main thread context. Returns null if | 447 // backed by the process-wide shared main thread context. Returns null if |
| 444 // the context cannot be created or initialized. | 448 // the context cannot be created or initialized. |
| 445 virtual WebGraphicsContext3DProvider* createSharedOffscreenGraphicsContext3D
Provider() { return nullptr; } | 449 virtual WebGraphicsContext3DProvider* createSharedOffscreenGraphicsContext3D
Provider() { return nullptr; } |
| 446 | 450 |
| 451 virtual gpu::GpuMemoryBufferManager* getGpuMemoryBufferManager() { return nu
llptr; } |
| 452 |
| 447 virtual std::unique_ptr<cc::SharedBitmap> allocateSharedBitmap(const WebSize
& size) { return nullptr; } | 453 virtual std::unique_ptr<cc::SharedBitmap> allocateSharedBitmap(const WebSize
& size) { return nullptr; } |
| 448 | 454 |
| 449 virtual bool isThreadedCompositingEnabled() { return false; } | 455 virtual bool isThreadedCompositingEnabled() { return false; } |
| 450 virtual bool isThreadedAnimationEnabled() { return true; } | 456 virtual bool isThreadedAnimationEnabled() { return true; } |
| 451 | 457 |
| 452 virtual WebCompositorSupport* compositorSupport() { return nullptr; } | 458 virtual WebCompositorSupport* compositorSupport() { return nullptr; } |
| 453 | 459 |
| 454 virtual WebFlingAnimator* createFlingAnimator() { return nullptr; } | 460 virtual WebFlingAnimator* createFlingAnimator() { return nullptr; } |
| 455 | 461 |
| 456 // Creates a new fling animation curve instance for device |deviceSource| | 462 // Creates a new fling animation curve instance for device |deviceSource| |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 574 protected: | 580 protected: |
| 575 Platform(); | 581 Platform(); |
| 576 virtual ~Platform() { } | 582 virtual ~Platform() { } |
| 577 | 583 |
| 578 WebThread* m_mainThread; | 584 WebThread* m_mainThread; |
| 579 }; | 585 }; |
| 580 | 586 |
| 581 } // namespace blink | 587 } // namespace blink |
| 582 | 588 |
| 583 #endif | 589 #endif |
| OLD | NEW |