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

Unified Diff: ash/mus/bridge/shell_port_mash.cc

Issue 2821203002: cros: Adds ShellPort functions for simplified display mode (Closed)
Patch Set: cleanup Created 3 years, 8 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
Index: ash/mus/bridge/shell_port_mash.cc
diff --git a/ash/mus/bridge/shell_port_mash.cc b/ash/mus/bridge/shell_port_mash.cc
index 1a78a0a5a967c52721d8d8517f954e5de6efa541..9973fee2e3f8707d6e6922bd121f8314e180e8d1 100644
--- a/ash/mus/bridge/shell_port_mash.cc
+++ b/ash/mus/bridge/shell_port_mash.cc
@@ -54,6 +54,7 @@
#include "ui/aura/window.h"
#include "ui/display/manager/managed_display_info.h"
#include "ui/display/screen.h"
+#include "ui/display/types/native_display_delegate.h"
#include "ui/views/mus/pointer_watcher_event_router.h"
namespace ash {
@@ -423,6 +424,11 @@ void ShellPortMash::CreatePointerWatcherAdapter() {
}
}
+AshWindowTreeHost* ShellPortMash::CreateAshWindowTreeHost(
+ const AshWindowTreeHostInitParams& init_params) {
+ return nullptr;
+}
+
void ShellPortMash::CreatePrimaryHost() {}
void ShellPortMash::InitHosts(const ShellInitParams& init_params) {
@@ -430,6 +436,11 @@ void ShellPortMash::InitHosts(const ShellInitParams& init_params) {
base::WrapUnique(init_params.primary_window_tree_host));
}
+std::unique_ptr<display::NativeDisplayDelegate>
+ShellPortMash::CreateNativeDisplayDelegate() {
+ return nullptr;
+}
+
std::unique_ptr<AcceleratorController>
ShellPortMash::CreateAcceleratorController() {
if (GetAshConfig() == Config::MUS) {

Powered by Google App Engine
This is Rietveld 408576698