| 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_compositor.h" | 5 #include "blimp/client/feature/compositor/blimp_compositor.h" |
| 6 | 6 |
| 7 #include "base/thread_task_runner_handle.h" | 7 #include "base/threading/thread_task_runner_handle.h" |
| 8 #include "blimp/client/feature/compositor/blimp_gpu_memory_buffer_manager.h" | 8 #include "blimp/client/feature/compositor/blimp_gpu_memory_buffer_manager.h" |
| 9 #include "blimp/client/feature/compositor/client_image_serialization_processor.h
" | 9 #include "blimp/client/feature/compositor/client_image_serialization_processor.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 { |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 MockableSendCompositorMessage(render_widget_id_)).Times(1); | 168 MockableSendCompositorMessage(render_widget_id_)).Times(1); |
| 169 EXPECT_CALL(compositor_client_, | 169 EXPECT_CALL(compositor_client_, |
| 170 MockableSendWebGestureEvent(render_widget_id_)).Times(1); | 170 MockableSendWebGestureEvent(render_widget_id_)).Times(1); |
| 171 | 171 |
| 172 compositor_->SendProto(cc::proto::CompositorMessage()); | 172 compositor_->SendProto(cc::proto::CompositorMessage()); |
| 173 compositor_->SendGestureEvent(blink::WebGestureEvent()); | 173 compositor_->SendGestureEvent(blink::WebGestureEvent()); |
| 174 } | 174 } |
| 175 | 175 |
| 176 } // namespace client | 176 } // namespace client |
| 177 } // namespace blimp | 177 } // namespace blimp |
| OLD | NEW |