Adam Barth bb6d32b498 Factor runtime initialization into InitRuntime (flutter/engine#3009)
This makes the code easier to share between Fuchsia and stand-alone
Flutter.
2016-09-07 22:19:50 -07:00

28 lines
656 B
C++

// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_RUNTIME_PLATFORM_IMPL_H_
#define FLUTTER_RUNTIME_PLATFORM_IMPL_H_
#include "lib/ftl/macros.h"
#include "flutter/sky/engine/public/platform/Platform.h"
namespace blink {
class PlatformImpl : public Platform {
public:
explicit PlatformImpl();
~PlatformImpl() override;
// blink::Platform methods:
std::string defaultLocale() override;
private:
FTL_DISALLOW_COPY_AND_ASSIGN(PlatformImpl);
};
} // namespace blink
#endif // FLUTTER_RUNTIME_PLATFORM_IMPL_H_