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 "config.h" | |
6 #include <public/WebLayer.h> | 5 #include <public/WebLayer.h> |
7 | 6 |
8 #include "cc/thread.h" | 7 #include "cc/thread.h" |
9 #include "cc/test/compositor_fake_web_graphics_context_3d.h" | 8 #include "cc/test/compositor_fake_web_graphics_context_3d.h" |
10 #include "web_layer_impl.h" | 9 #include "web_layer_impl.h" |
11 #include "web_layer_tree_view_impl.h" | 10 #include "web_layer_tree_view_impl.h" |
12 #include "web_layer_tree_view_test_common.h" | 11 #include "web_layer_tree_view_test_common.h" |
13 #include <public/WebContentLayer.h> | 12 #include <public/WebContentLayer.h> |
14 #include <public/WebContentLayerClient.h> | 13 #include <public/WebContentLayerClient.h> |
15 #include <public/WebExternalTextureLayer.h> | 14 #include <public/WebExternalTextureLayer.h> |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 Mock::VerifyAndClearExpectations(&scrollClient); | 193 Mock::VerifyAndClearExpectations(&scrollClient); |
195 | 194 |
196 EXPECT_CALL(scrollClient, didScroll()).Times(0); | 195 EXPECT_CALL(scrollClient, didScroll()).Times(0); |
197 m_rootLayer->setScrollPosition(WebPoint(14, 19)); | 196 m_rootLayer->setScrollPosition(WebPoint(14, 19)); |
198 Mock::VerifyAndClearExpectations(&scrollClient); | 197 Mock::VerifyAndClearExpectations(&scrollClient); |
199 | 198 |
200 m_rootLayer->setScrollClient(0); | 199 m_rootLayer->setScrollClient(0); |
201 } | 200 } |
202 | 201 |
203 } | 202 } |
OLD | NEW |