OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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 "cc/scheduler/begin_frame_source.h" | 5 #include "cc/scheduler/begin_frame_source.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include <stdint.h> |
| 8 |
8 #include "base/test/test_simple_task_runner.h" | 9 #include "base/test/test_simple_task_runner.h" |
9 #include "cc/test/begin_frame_args_test.h" | 10 #include "cc/test/begin_frame_args_test.h" |
10 #include "cc/test/begin_frame_source_test.h" | 11 #include "cc/test/begin_frame_source_test.h" |
11 #include "cc/test/scheduler_test_common.h" | 12 #include "cc/test/scheduler_test_common.h" |
12 #include "testing/gmock/include/gmock/gmock.h" | 13 #include "testing/gmock/include/gmock/gmock.h" |
13 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
14 | 15 |
15 namespace cc { | 16 namespace cc { |
16 namespace { | 17 namespace { |
17 | 18 |
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
615 mux_->SetActiveSource(source2_); | 616 mux_->SetActiveSource(source2_); |
616 SEND_BEGIN_FRAME_DROP(*source2_, 750, 1050, 300); | 617 SEND_BEGIN_FRAME_DROP(*source2_, 750, 1050, 300); |
617 SEND_BEGIN_FRAME_USED(*source2_, 1050, 1250, 300); | 618 SEND_BEGIN_FRAME_USED(*source2_, 1050, 1250, 300); |
618 | 619 |
619 mux_->SetActiveSource(source1_); | 620 mux_->SetActiveSource(source1_); |
620 SEND_BEGIN_FRAME_DROP(*source2_, 1100, 1400, 300); | 621 SEND_BEGIN_FRAME_DROP(*source2_, 1100, 1400, 300); |
621 } | 622 } |
622 | 623 |
623 } // namespace | 624 } // namespace |
624 } // namespace cc | 625 } // namespace cc |
OLD | NEW |