| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "cc/blink/web_layer_impl.h" | 5 #include "cc/blink/web_layer_impl.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 #include "cc/trees/layer_tree_host.h" | 23 #include "cc/trees/layer_tree_host.h" |
| 24 #include "third_party/WebKit/public/platform/WebFloatPoint.h" | 24 #include "third_party/WebKit/public/platform/WebFloatPoint.h" |
| 25 #include "third_party/WebKit/public/platform/WebFloatRect.h" | 25 #include "third_party/WebKit/public/platform/WebFloatRect.h" |
| 26 #include "third_party/WebKit/public/platform/WebLayerPositionConstraint.h" | 26 #include "third_party/WebKit/public/platform/WebLayerPositionConstraint.h" |
| 27 #include "third_party/WebKit/public/platform/WebLayerScrollClient.h" | 27 #include "third_party/WebKit/public/platform/WebLayerScrollClient.h" |
| 28 #include "third_party/WebKit/public/platform/WebSize.h" | 28 #include "third_party/WebKit/public/platform/WebSize.h" |
| 29 #include "third_party/skia/include/utils/SkMatrix44.h" | 29 #include "third_party/skia/include/utils/SkMatrix44.h" |
| 30 #include "ui/gfx/geometry/rect_conversions.h" | 30 #include "ui/gfx/geometry/rect_conversions.h" |
| 31 #include "ui/gfx/geometry/vector2d_conversions.h" | 31 #include "ui/gfx/geometry/vector2d_conversions.h" |
| 32 | 32 |
| 33 using cc::Animation; | |
| 34 using cc::Layer; | 33 using cc::Layer; |
| 35 using blink::WebLayer; | 34 using blink::WebLayer; |
| 36 using blink::WebFloatPoint; | 35 using blink::WebFloatPoint; |
| 37 using blink::WebVector; | 36 using blink::WebVector; |
| 38 using blink::WebRect; | 37 using blink::WebRect; |
| 39 using blink::WebSize; | 38 using blink::WebSize; |
| 40 using blink::WebColor; | 39 using blink::WebColor; |
| 41 | 40 |
| 42 namespace cc_blink { | 41 namespace cc_blink { |
| 43 | 42 |
| (...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 | 448 |
| 450 Layer* WebLayerImpl::layer() const { | 449 Layer* WebLayerImpl::layer() const { |
| 451 return layer_.get(); | 450 return layer_.get(); |
| 452 } | 451 } |
| 453 | 452 |
| 454 void WebLayerImpl::SetContentsOpaqueIsFixed(bool fixed) { | 453 void WebLayerImpl::SetContentsOpaqueIsFixed(bool fixed) { |
| 455 contents_opaque_is_fixed_ = fixed; | 454 contents_opaque_is_fixed_ = fixed; |
| 456 } | 455 } |
| 457 | 456 |
| 458 } // namespace cc_blink | 457 } // namespace cc_blink |
| OLD | NEW |