// Copyright 2015 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 COMPONENTS_MUS_WS_PLATFORM_DISPLAY_FACTORY_H_ #define COMPONENTS_MUS_WS_PLATFORM_DISPLAY_FACTORY_H_ #include "components/mus/gles2/gpu_state.h" #include "mojo/public/cpp/bindings/callback.h" namespace mojo { class Connector; } namespace mus { namespace ws { class PlatformDisplay; // Abstract factory for PlatformDisplays. Used by tests to construct test // PlatformDisplays. class PlatformDisplayFactory { public: virtual PlatformDisplay* CreatePlatformDisplay( mojo::Connector* connector, const scoped_refptr& gpu_state, const scoped_refptr& surfaces_state) = 0; }; } // namespace ws } // namespace mus #endif // COMPONENTS_MUS_WS_PLATFORM_DISPLAY_FACTORY_H_