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 WEBKIT_COMMON_GPU_CONTEXT_PROVIDER_WEB_CONTEXT_H_ 6#define WEBKIT_COMMON_GPU_CONTEXT_PROVIDER_WEB_CONTEXT_H_ 7 8#include "cc/output/context_provider.h" 9 10namespace blink { class WebGraphicsContext3D; } 11 12namespace webkit { 13namespace gpu { 14 15class ContextProviderWebContext : public cc::ContextProvider { 16 public: 17 virtual blink::WebGraphicsContext3D* WebContext3D() = 0; 18 19 protected: 20 virtual ~ContextProviderWebContext() {} 21}; 22 23} // namespace gpu 24} // namespace webkit 25 26#endif // WEBKIT_COMMON_GPU_CONTEXT_PROVIDER_WEB_CONTEXT_H_ 27