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

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

Issue 2323393003: Connect mojom::DisplayController from ash to ui. (Closed)
Patch Set: Add comments. Created 4 years, 3 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: services/ui/display/platform_screen_stub.cc
diff --git a/services/ui/display/platform_screen_stub.cc b/services/ui/display/platform_screen_stub.cc
index 87580ab031c6a2ab75147546e6c51053402e521e..4b133dfbfbd2ba087a9a3ca9d3c9dc2fd5764dd1 100644
--- a/services/ui/display/platform_screen_stub.cc
+++ b/services/ui/display/platform_screen_stub.cc
@@ -10,6 +10,7 @@
#include "base/location.h"
#include "base/memory/ptr_util.h"
#include "base/threading/thread_task_runner_handle.h"
+#include "services/shell/public/cpp/interface_registry.h"
#include "ui/gfx/geometry/rect.h"
namespace display {
@@ -32,6 +33,8 @@ void PlatformScreenStub::FixedSizeScreenConfiguration() {
delegate_->OnDisplayAdded(kDisplayId, gfx::Rect(1024, 768));
}
+void PlatformScreenStub::AddInterfaces(shell::InterfaceRegistry* registry) {}
+
void PlatformScreenStub::Init(PlatformScreenDelegate* delegate) {
DCHECK(delegate);
delegate_ = delegate;
« no previous file with comments | « services/ui/display/platform_screen_stub.h ('k') | services/ui/public/interfaces/display/display_controller.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698