| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 "config.h" | |
| 6 | |
| 7 #include "base/cancelable_callback.h" | 5 #include "base/cancelable_callback.h" |
| 8 #include "base/memory/ref_counted.h" | 6 #include "base/memory/ref_counted.h" |
| 9 #include "base/threading/thread.h" | 7 #include "base/threading/thread.h" |
| 10 #include "cc/proxy.h" | 8 #include "cc/proxy.h" |
| 11 #include "cc/thread_impl.h" | 9 #include "cc/thread_impl.h" |
| 12 #include "cc/test/compositor_fake_web_graphics_context_3d.h" | 10 #include "cc/test/compositor_fake_web_graphics_context_3d.h" |
| 13 #include "cc/test/fake_web_compositor_output_surface.h" | 11 #include "cc/test/fake_web_compositor_output_surface.h" |
| 14 #include "testing/gmock/include/gmock/gmock.h" | 12 #include "testing/gmock/include/gmock/gmock.h" |
| 15 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayer.h" | 13 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayer.h" |
| 16 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayerTreeViewCli
ent.h" | 14 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayerTreeViewCli
ent.h" |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 | 136 |
| 139 EXPECT_CALL(m_client, willBeginFrame()); | 137 EXPECT_CALL(m_client, willBeginFrame()); |
| 140 EXPECT_CALL(m_client, willCommit()); | 138 EXPECT_CALL(m_client, willCommit()); |
| 141 EXPECT_CALL(m_client, didCommit()); | 139 EXPECT_CALL(m_client, didCommit()); |
| 142 EXPECT_CALL(m_client, didBeginFrame()); | 140 EXPECT_CALL(m_client, didBeginFrame()); |
| 143 | 141 |
| 144 composite(); | 142 composite(); |
| 145 } | 143 } |
| 146 | 144 |
| 147 } // namespace | 145 } // namespace |
| OLD | NEW |