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

Unified Diff: blimp/client/feature/compositor/mock_compositor_dependencies.h

Issue 2274323002: Expose Blimp dependencies to the embedder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@khushal_baseline_1
Patch Set: Fix linux build break 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: blimp/client/feature/compositor/mock_compositor_dependencies.h
diff --git a/blimp/client/feature/compositor/mock_compositor_dependencies.h b/blimp/client/feature/compositor/mock_compositor_dependencies.h
new file mode 100644
index 0000000000000000000000000000000000000000..02f83dae8a5cef184f63429419bc24657e1eeb5d
--- /dev/null
+++ b/blimp/client/feature/compositor/mock_compositor_dependencies.h
@@ -0,0 +1,25 @@
+// Copyright 2016 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.
+
+#ifndef BLIMP_CLIENT_FEATURE_COMPOSITOR_MOCK_COMPOSITOR_DEPENDENCIES_H_
+#define BLIMP_CLIENT_FEATURE_COMPOSITOR_MOCK_COMPOSITOR_DEPENDENCIES_H_
+
+#include "blimp/client/support/compositor/compositor_dependencies_impl.h"
+
+namespace blimp {
+namespace client {
+
+class MockCompositorDependencies : public CompositorDependenciesImpl {
+ public:
+ MockCompositorDependencies() = default;
+ ~MockCompositorDependencies() override = default;
+
+ // CompositorDependenciesImpl implementation.
+ void GetContextProvider(const ContextProviderCallback& callback) override;
+};
+
+} // namespace client
+} // namespace blimp
+
+#endif // BLIMP_CLIENT_FEATURE_COMPOSITOR_MOCK_COMPOSITOR_DEPENDENCIES_H_

Powered by Google App Engine
This is Rietveld 408576698