Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(900)

Unified Diff: services/ui/ws/platform_screen_impl_ozone.h

Issue 2128333002: Move PlatformSceen to services/ui/display. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/ui/ws/platform_screen_impl.cc ('k') | services/ui/ws/platform_screen_impl_ozone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/platform_screen_impl_ozone.h
diff --git a/services/ui/ws/platform_screen_impl_ozone.h b/services/ui/ws/platform_screen_impl_ozone.h
deleted file mode 100644
index e026bf61d1319e27fdad0a4738db57ab58485612..0000000000000000000000000000000000000000
--- a/services/ui/ws/platform_screen_impl_ozone.h
+++ /dev/null
@@ -1,53 +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 SERVICES_UI_WS_PLATFORM_SCREEN_IMPL_OZONE_H_
-#define SERVICES_UI_WS_PLATFORM_SCREEN_IMPL_OZONE_H_
-
-#include <stdint.h>
-
-#include <vector>
-
-#include "base/callback.h"
-#include "base/macros.h"
-#include "services/ui/ws/platform_screen.h"
-#include "ui/display/chromeos/display_configurator.h"
-
-namespace ui {
-namespace ws {
-
-// PlatformScreenImplOzone provides the necessary functionality to configure all
-// attached physical displays on the ozone platform.
-class PlatformScreenImplOzone : public PlatformScreen,
- public ui::DisplayConfigurator::Observer {
- public:
- PlatformScreenImplOzone();
- ~PlatformScreenImplOzone() override;
-
- private:
- // PlatformScreen:
- void Init() override; // Must not be called until after the ozone platform is
- // initialized.
- void ConfigurePhysicalDisplay(
- const ConfiguredDisplayCallback& callback) override;
-
- // ui::DisplayConfigurator::Observer:
- void OnDisplayModeChanged(
- const ui::DisplayConfigurator::DisplayStateList& displays) override;
- void OnDisplayModeChangeFailed(
- const ui::DisplayConfigurator::DisplayStateList& displays,
- MultipleDisplayState failed_new_state) override;
-
- ui::DisplayConfigurator display_configurator_;
-
- // Callback to called when new displays are configured.
- ConfiguredDisplayCallback callback_;
-
- DISALLOW_COPY_AND_ASSIGN(PlatformScreenImplOzone);
-};
-
-} // namespace ws
-} // namespace ui
-
-#endif // SERVICES_UI_WS_PLATFORM_SCREEN_IMPL_OZONE_H_
« no previous file with comments | « services/ui/ws/platform_screen_impl.cc ('k') | services/ui/ws/platform_screen_impl_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698