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

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
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..82cfd9c73151f989c8c406bf3c4bce1901122d1b 100644
--- a/services/ui/ws/test_utils.cc
+++ b/services/ui/ws/test_utils.cc
@@ -66,6 +66,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_;

Powered by Google App Engine
This is Rietveld 408576698