blob: 72ec234c1c414c370485e27f6a3ad3f2bf5b9d4b [file] [log] [blame]
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_ANDROID_VR_UI_MODULE_FACTORY_H_
#define CHROME_BROWSER_ANDROID_VR_UI_MODULE_FACTORY_H_
#include <memory>
#include "chrome/browser/android/vr/ui_factory.h"
namespace vr {
// The bundle-specific UI factory implementation. This variant handles opening
// of the native library from the DFM, and pulling required symbol(s) from it to
// construct a UI.
class UiModuleFactory : public UiFactory {
public:
std::unique_ptr<UiInterface> Create(
UiBrowserInterface* browser,
const UiInitialState& ui_initial_state) override;
};
} // namespace vr
#endif // CHROME_BROWSER_ANDROID_VR_UI_MODULE_FACTORY_H_