[Android] Implement 3-way sensor fallback for Device Orientation.
[chromium-blink-merge.git] / content / utility / utility_blink_platform_impl.h
blob2d2b824214fadfcda81f1090d8f6524c5c10f8cf
1 // Copyright 2015 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 CONTENT_UTILITY_UTILITY_BLINK_PLATFORM_IMPL_H_
6 #define CONTENT_UTILITY_UTILITY_BLINK_PLATFORM_IMPL_H_
8 #include "content/child/blink_platform_impl.h"
10 namespace content {
12 class WebThreadImplForUtilityThread;
14 class UtilityBlinkPlatformImpl : public BlinkPlatformImpl {
15 public:
16 UtilityBlinkPlatformImpl();
17 ~UtilityBlinkPlatformImpl() override;
19 // BlinkPlatformImpl implementation.
20 blink::WebThread* currentThread() override;
22 private:
23 scoped_ptr<WebThreadImplForUtilityThread> main_thread_;
25 DISALLOW_COPY_AND_ASSIGN(UtilityBlinkPlatformImpl);
28 } // namespace content
30 #endif // CONTENT_UTILITY_UTILITY_BLINK_PLATFORM_IMPL_H_