| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CC_BLINK_CONTEXT_PROVIDER_WEB_CONTEXT_H_ | |
| 6 #define CC_BLINK_CONTEXT_PROVIDER_WEB_CONTEXT_H_ | |
| 7 | |
| 8 #include "cc/output/context_provider.h" | |
| 9 | |
| 10 namespace blink { class WebGraphicsContext3D; } | |
| 11 | |
| 12 namespace cc_blink { | |
| 13 | |
| 14 class ContextProviderWebContext : public cc::ContextProvider { | |
| 15 public: | |
| 16 virtual blink::WebGraphicsContext3D* WebContext3D() = 0; | |
| 17 | |
| 18 protected: | |
| 19 ~ContextProviderWebContext() override {} | |
| 20 }; | |
| 21 | |
| 22 } // namespace cc_blink | |
| 23 | |
| 24 #endif // CC_BLINK_CONTEXT_PROVIDER_WEB_CONTEXT_H_ | |
| OLD | NEW |