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 "webkit/compositor_bindings/web_layer_impl.h" | 5 #include "webkit/compositor_bindings/web_layer_impl.h" |
6 | 6 |
7 #include "base/string_util.h" | 7 #include "base/string_util.h" |
8 #include "cc/animation.h" | 8 #include "cc/animation.h" |
| 9 #include "cc/base/region.h" |
9 #include "cc/layer.h" | 10 #include "cc/layer.h" |
10 #include "cc/region.h" | |
11 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatPoint.h" | 11 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatPoint.h" |
12 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatRect.h" | 12 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatRect.h" |
13 #include "third_party/WebKit/Source/Platform/chromium/public/WebSize.h" | 13 #include "third_party/WebKit/Source/Platform/chromium/public/WebSize.h" |
14 #include "third_party/WebKit/Source/Platform/chromium/public/WebTransformationMa
trix.h" | 14 #include "third_party/WebKit/Source/Platform/chromium/public/WebTransformationMa
trix.h" |
15 #include "third_party/skia/include/utils/SkMatrix44.h" | 15 #include "third_party/skia/include/utils/SkMatrix44.h" |
16 #include "webkit/compositor_bindings/web_animation_impl.h" | 16 #include "webkit/compositor_bindings/web_animation_impl.h" |
17 #include "webkit/compositor_bindings/web_transformation_matrix_util.h" | 17 #include "webkit/compositor_bindings/web_transformation_matrix_util.h" |
18 | 18 |
19 using cc::Animation; | 19 using cc::Animation; |
20 using cc::Layer; | 20 using cc::Layer; |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 return layer_->fixed_to_container_layer(); | 323 return layer_->fixed_to_container_layer(); |
324 } | 324 } |
325 | 325 |
326 void WebLayerImpl::setScrollClient(WebLayerScrollClient* scroll_client) { | 326 void WebLayerImpl::setScrollClient(WebLayerScrollClient* scroll_client) { |
327 layer_->set_layer_scroll_client(scroll_client); | 327 layer_->set_layer_scroll_client(scroll_client); |
328 } | 328 } |
329 | 329 |
330 Layer* WebLayerImpl::layer() const { return layer_.get(); } | 330 Layer* WebLayerImpl::layer() const { return layer_.get(); } |
331 | 331 |
332 } // namespace WebKit | 332 } // namespace WebKit |
OLD | NEW |