Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Side by Side Diff: cc/blink/web_layer_impl.cc

Issue 1782433002: CC Animation: Erase old animation system. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@erasetests
Patch Set: Remove vtbl in LayerAnimationController. Fix formatting. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/animation/layer_animation_controller.h ('k') | cc/layers/layer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « cc/animation/layer_animation_controller.h ('k') | cc/layers/layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698