OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
| 5 #include <blimp/client/feature/compositor/blimp_gpu_memory_buffer_manager.h> |
5 #include "blimp/client/feature/compositor/blimp_compositor.h" | 6 #include "blimp/client/feature/compositor/blimp_compositor.h" |
6 | 7 |
7 #include "base/threading/thread_task_runner_handle.h" | 8 #include "base/threading/thread_task_runner_handle.h" |
8 #include "blimp/client/core/compositor/blob_image_serialization_processor.h" | 9 #include "blimp/client/core/compositor/blob_image_serialization_processor.h" |
9 #include "blimp/client/feature/compositor/blimp_gpu_memory_buffer_manager.h" | |
10 #include "blimp/common/compositor/blimp_task_graph_runner.h" | 10 #include "blimp/common/compositor/blimp_task_graph_runner.h" |
11 #include "cc/proto/compositor_message.pb.h" | 11 #include "cc/proto/compositor_message.pb.h" |
12 #include "testing/gmock/include/gmock/gmock.h" | 12 #include "testing/gmock/include/gmock/gmock.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
14 | 14 |
15 using testing::_; | 15 using testing::_; |
16 | 16 |
17 namespace blimp { | 17 namespace blimp { |
18 namespace client { | 18 namespace client { |
19 | 19 |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 MockableSendCompositorMessage(render_widget_id_)).Times(1); | 172 MockableSendCompositorMessage(render_widget_id_)).Times(1); |
173 EXPECT_CALL(compositor_client_, | 173 EXPECT_CALL(compositor_client_, |
174 MockableSendWebGestureEvent(render_widget_id_)).Times(1); | 174 MockableSendWebGestureEvent(render_widget_id_)).Times(1); |
175 | 175 |
176 compositor_->SendProto(cc::proto::CompositorMessage()); | 176 compositor_->SendProto(cc::proto::CompositorMessage()); |
177 compositor_->SendGestureEvent(blink::WebGestureEvent()); | 177 compositor_->SendGestureEvent(blink::WebGestureEvent()); |
178 } | 178 } |
179 | 179 |
180 } // namespace client | 180 } // namespace client |
181 } // namespace blimp | 181 } // namespace blimp |
OLD | NEW |