summaryrefslogtreecommitdiff
path: root/chromium/components/mus/ws/platform_screen.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/mus/ws/platform_screen.h')
-rw-r--r--chromium/components/mus/ws/platform_screen.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/chromium/components/mus/ws/platform_screen.h b/chromium/components/mus/ws/platform_screen.h
deleted file mode 100644
index 3215c28c257..00000000000
--- a/chromium/components/mus/ws/platform_screen.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2016 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_SCREEN_H_
-#define COMPONENTS_MUS_WS_PLATFORM_SCREEN_H_
-
-#include <stdint.h>
-
-#include "base/callback.h"
-
-namespace gfx {
-class Rect;
-}
-
-namespace mus {
-namespace ws {
-
-// PlatformScreen provides the necessary functionality to configure all
-// attached physical displays.
-class PlatformScreen {
- public:
- virtual ~PlatformScreen() {}
-
- // Creates a PlatformScreen instance.
- static std::unique_ptr<PlatformScreen> Create();
-
- // Initializes platform specific screen resources.
- virtual void Init() = 0;
-
- using ConfiguredDisplayCallback =
- base::Callback<void(int64_t, const gfx::Rect&)>;
-
- // ConfigurePhysicalDisplay() configures a single physical display and returns
- // its id and bounds for it via |callback|.
- virtual void ConfigurePhysicalDisplay(
- const ConfiguredDisplayCallback& callback) = 0;
-};
-
-} // namespace ws
-} // namespace mus
-
-#endif // COMPONENTS_MUS_WS_PLATFORM_SCREEN_H_