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

Unified Diff: services/ui/display/screen_manager_ozone_external.cc

Issue 2697693002: Stub out ScreenManagerOzoneExternal (Closed)
Patch Set: fixed typo Created 3 years, 10 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/display/screen_manager_ozone_external.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/display/screen_manager_ozone_external.cc
diff --git a/services/ui/display/screen_manager_ozone_external.cc b/services/ui/display/screen_manager_ozone_external.cc
new file mode 100644
index 0000000000000000000000000000000000000000..e3dfb5ab1c24a8be54c479bfe39aa876df523d53
--- /dev/null
+++ b/services/ui/display/screen_manager_ozone_external.cc
@@ -0,0 +1,34 @@
+// Copyright 2017 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.
+
+#include "services/ui/display/screen_manager_ozone_external.h"
+
+#include <memory>
+
+#include "services/service_manager/public/cpp/interface_registry.h"
+#include "ui/display/types/display_constants.h"
+
+namespace display {
+
+// static
+std::unique_ptr<ScreenManager> ScreenManager::Create() {
+ return base::MakeUnique<ScreenManagerOzoneExternal>();
+}
+
+ScreenManagerOzoneExternal::ScreenManagerOzoneExternal() {}
+
+ScreenManagerOzoneExternal::~ScreenManagerOzoneExternal() {}
+
+void ScreenManagerOzoneExternal::AddInterfaces(
+ service_manager::InterfaceRegistry* registry) {}
+
+void ScreenManagerOzoneExternal::Init(ScreenManagerDelegate* delegate) {}
+
+void ScreenManagerOzoneExternal::RequestCloseDisplay(int64_t display_id) {}
+
+int64_t ScreenManagerOzoneExternal::GetPrimaryDisplayId() const {
+ return kInvalidDisplayId;
+}
+
+} // namespace display
« no previous file with comments | « services/ui/display/screen_manager_ozone_external.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698