| 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 | 6 |
| 7 #include "CCLayerTreeHostCommon.h" | 7 #include "cc/layer_tree_host_common.h" |
| 8 | 8 |
| 9 #include "CCLayerImpl.h" | |
| 10 #include "CCLayerIterator.h" | |
| 11 #include "CCLayerSorter.h" | |
| 12 #include "CCRenderSurface.h" | |
| 13 #include "FloatQuad.h" | 9 #include "FloatQuad.h" |
| 14 #include "IntRect.h" | 10 #include "IntRect.h" |
| 15 #include "cc/layer.h" | 11 #include "cc/layer.h" |
| 12 #include "cc/layer_impl.h" |
| 13 #include "cc/layer_iterator.h" |
| 14 #include "cc/layer_sorter.h" |
| 16 #include "cc/math_util.h" | 15 #include "cc/math_util.h" |
| 17 #include "cc/render_surface.h" | 16 #include "cc/render_surface.h" |
| 17 #include "cc/render_surface_impl.h" |
| 18 #include <public/WebTransformationMatrix.h> | 18 #include <public/WebTransformationMatrix.h> |
| 19 | 19 |
| 20 using WebKit::WebTransformationMatrix; | 20 using WebKit::WebTransformationMatrix; |
| 21 | 21 |
| 22 namespace cc { | 22 namespace cc { |
| 23 | 23 |
| 24 CCScrollAndScaleSet::CCScrollAndScaleSet() | 24 CCScrollAndScaleSet::CCScrollAndScaleSet() |
| 25 { | 25 { |
| 26 } | 26 } |
| 27 | 27 |
| (...skipping 827 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 855 | 855 |
| 856 foundLayer = currentLayer; | 856 foundLayer = currentLayer; |
| 857 break; | 857 break; |
| 858 } | 858 } |
| 859 | 859 |
| 860 // This can potentially return 0, which means the screenSpacePoint did not s
uccessfully hit test any layers, not even the root layer. | 860 // This can potentially return 0, which means the screenSpacePoint did not s
uccessfully hit test any layers, not even the root layer. |
| 861 return foundLayer; | 861 return foundLayer; |
| 862 } | 862 } |
| 863 | 863 |
| 864 } // namespace cc | 864 } // namespace cc |
| OLD | NEW |