1 // Copyright (c) 2014 Intel Corporation. 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 XWALK_RUNTIME_BROWSER_XWALK_RUNNER_TIZEN_H_
6 #define XWALK_RUNTIME_BROWSER_XWALK_RUNNER_TIZEN_H_
10 #include "xwalk/runtime/browser/xwalk_runner.h"
11 #include "xwalk/runtime/browser/tizen/tizen_locale_listener.h"
15 // Main object customizations for the Tizen port of Crosswalk. Any objects
16 // specific to Tizen should be created here.
17 class XWalkRunnerTizen : public XWalkRunner {
19 // See documentation in xwalk_runner.h about when it is valid to access
20 // XWalkRunner directly. Relying too much on this accessor makes code harder
21 // to change and harder to reason about.
22 static XWalkRunnerTizen* GetInstance();
24 virtual ~XWalkRunnerTizen();
26 virtual void PreMainMessageLoopRun() OVERRIDE;
29 friend class XWalkRunner;
32 TizenLocaleListener tizen_locale_listener_;
37 #endif // XWALK_RUNTIME_BROWSER_XWALK_RUNNER_TIZEN_H_