[Android] Implement 3-way sensor fallback for Device Orientation.
[chromium-blink-merge.git] / cc / blink / context_provider_web_context.h
blob21d1df380e26bc58587af467e9ae865a0fac3359
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.
5 #ifndef CC_BLINK_CONTEXT_PROVIDER_WEB_CONTEXT_H_
6 #define CC_BLINK_CONTEXT_PROVIDER_WEB_CONTEXT_H_
8 #include "cc/output/context_provider.h"
10 namespace blink { class WebGraphicsContext3D; }
12 namespace cc_blink {
14 class ContextProviderWebContext : public cc::ContextProvider {
15 public:
16 virtual blink::WebGraphicsContext3D* WebContext3D() = 0;
18 protected:
19 ~ContextProviderWebContext() override {}
22 } // namespace cc_blink
24 #endif // CC_BLINK_CONTEXT_PROVIDER_WEB_CONTEXT_H_