Index: ui/compositor/test/compositor_test_api.cc |
diff --git a/ui/compositor/test/compositor_test_api.cc b/ui/compositor/test/compositor_test_api.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0773f813bcc80d3a8e4ebe7d72c051591250d842 |
--- /dev/null |
+++ b/ui/compositor/test/compositor_test_api.cc |
@@ -0,0 +1,23 @@ |
+// Copyright 2015 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. |
+ |
+#include "ui/compositor/test/compositor_test_api.h" |
+ |
+#include "cc/output/begin_frame_args.h" |
+#include "ui/compositor/compositor.h" |
+ |
+namespace ui { |
+ |
+CompositorTestAPI::CompositorTestAPI(Compositor* compositor) |
+ : compositor_(compositor) { |
+} |
+ |
+CompositorTestAPI::~CompositorTestAPI() { |
+} |
+ |
+cc::BeginFrameArgs CompositorTestAPI::missed_begin_frame_args() { |
+ return compositor_->missed_begin_frame_args_; |
+} |
+ |
+} // namespace ui |