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 | 5 |
6 #include "config.h" | 6 #include "config.h" |
7 | 7 |
8 #include "CCLayerTreeHostCommon.h" | 8 #include "CCLayerTreeHostCommon.h" |
9 | 9 |
10 #include "CCLayerImpl.h" | 10 #include "CCLayerImpl.h" |
(...skipping 845 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
856 | 856 |
857 foundLayer = currentLayer; | 857 foundLayer = currentLayer; |
858 break; | 858 break; |
859 } | 859 } |
860 | 860 |
861 // This can potentially return 0, which means the viewportPoint did not succ
essfully hit test any layers, not even the root layer. | 861 // This can potentially return 0, which means the viewportPoint did not succ
essfully hit test any layers, not even the root layer. |
862 return foundLayer; | 862 return foundLayer; |
863 } | 863 } |
864 | 864 |
865 } // namespace cc | 865 } // namespace cc |
OLD | NEW |