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

Unified Diff: services/ui/ws/test_utils.cc

Issue 2281583003: services/ui: Split GpuServiceInternal into gpu vs. ws pieces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@DONE_2016.08.24_mus-ws-gpu-refactor
Patch Set: tot merge Created 4 years, 4 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_display.cc ('k') | services/ui/ws/window_server.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/test_utils.cc
diff --git a/services/ui/ws/test_utils.cc b/services/ui/ws/test_utils.cc
index 9e1c7c0b1b4889a483e15107399012a3a24c415d..c088331de68465d076798738e78d24cd07d5a380 100644
--- a/services/ui/ws/test_utils.cc
+++ b/services/ui/ws/test_utils.cc
@@ -8,6 +8,7 @@
#include "base/memory/ptr_util.h"
#include "cc/output/copy_output_request.h"
+#include "gpu/ipc/client/gpu_channel_host.h"
#include "services/shell/public/interfaces/connector.mojom.h"
#include "services/ui/surfaces/surfaces_state.h"
#include "services/ui/ws/display_binding.h"
@@ -66,6 +67,8 @@ class TestPlatformDisplay : public PlatformDisplay {
std::unique_ptr<cc::CopyOutputRequest> output_request) override {}
gfx::Rect GetBounds() const override { return display_metrics_.bounds; }
bool IsPrimaryDisplay() const override { return is_primary_; }
+ void OnGpuChannelEstablished(
+ scoped_refptr<gpu::GpuChannelHost> host) override {}
private:
ViewportMetrics display_metrics_;
« no previous file with comments | « services/ui/ws/platform_display.cc ('k') | services/ui/ws/window_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698