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

Side by Side Diff: blimp/client/feature/compositor/blimp_compositor_unittest.cc

Issue 2266863003: blimp: Move BlimpCompositor to use delegated rendering. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698