| 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" | 5 #include "config.h" |
| 6 #include <public/WebLayer.h> | 6 #include <public/WebLayer.h> |
| 7 | 7 |
| 8 #include "cc/test/compositor_fake_web_graphics_context_3d.h" | 8 #include "cc/test/compositor_fake_web_graphics_context_3d.h" |
| 9 #include "cc/test/web_compositor_initializer.h" | 9 #include "cc/test/web_compositor_initializer.h" |
| 10 #include "WebLayerImpl.h" | 10 #include "web_layer_impl.h" |
| 11 #include "WebLayerTreeViewTestCommon.h" | 11 #include "web_layer_tree_view_test_common.h" |
| 12 #include <public/WebContentLayer.h> | 12 #include <public/WebContentLayer.h> |
| 13 #include <public/WebContentLayerClient.h> | 13 #include <public/WebContentLayerClient.h> |
| 14 #include <public/WebExternalTextureLayer.h> | 14 #include <public/WebExternalTextureLayer.h> |
| 15 #include <public/WebFloatPoint.h> | 15 #include <public/WebFloatPoint.h> |
| 16 #include <public/WebFloatRect.h> | 16 #include <public/WebFloatRect.h> |
| 17 #include <public/WebLayerScrollClient.h> | 17 #include <public/WebLayerScrollClient.h> |
| 18 #include <public/WebLayerTreeView.h> | 18 #include <public/WebLayerTreeView.h> |
| 19 #include <public/WebLayerTreeViewClient.h> | 19 #include <public/WebLayerTreeViewClient.h> |
| 20 #include <public/WebRect.h> | 20 #include <public/WebRect.h> |
| 21 #include <public/WebSize.h> | 21 #include <public/WebSize.h> |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 Mock::VerifyAndClearExpectations(&scrollClient); | 182 Mock::VerifyAndClearExpectations(&scrollClient); |
| 183 | 183 |
| 184 EXPECT_CALL(scrollClient, didScroll()).Times(0); | 184 EXPECT_CALL(scrollClient, didScroll()).Times(0); |
| 185 m_rootLayer->setScrollPosition(WebPoint(14, 19)); | 185 m_rootLayer->setScrollPosition(WebPoint(14, 19)); |
| 186 Mock::VerifyAndClearExpectations(&scrollClient); | 186 Mock::VerifyAndClearExpectations(&scrollClient); |
| 187 | 187 |
| 188 m_rootLayer->setScrollClient(0); | 188 m_rootLayer->setScrollClient(0); |
| 189 } | 189 } |
| 190 | 190 |
| 191 } | 191 } |
| OLD | NEW |