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

Side by Side Diff: cc/layers/layer.cc

Issue 16085003: Update refernces to Blink's Platform API (cc) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « cc/layers/layer.h ('k') | cc/layers/layer_impl.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 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 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/layers/layer.h" 5 #include "cc/layers/layer.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/metrics/histogram.h" 9 #include "base/metrics/histogram.h"
10 #include "cc/animation/animation.h" 10 #include "cc/animation/animation.h"
11 #include "cc/animation/animation_events.h" 11 #include "cc/animation/animation_events.h"
12 #include "cc/animation/layer_animation_controller.h" 12 #include "cc/animation/layer_animation_controller.h"
13 #include "cc/base/thread.h" 13 #include "cc/base/thread.h"
14 #include "cc/layers/layer_impl.h" 14 #include "cc/layers/layer_impl.h"
15 #include "cc/output/copy_output_request.h" 15 #include "cc/output/copy_output_request.h"
16 #include "cc/trees/layer_tree_host.h" 16 #include "cc/trees/layer_tree_host.h"
17 #include "cc/trees/layer_tree_impl.h" 17 #include "cc/trees/layer_tree_impl.h"
18 #include "third_party/WebKit/Source/Platform/chromium/public/WebAnimationDelegat e.h" 18 #include "third_party/WebKit/public/platform/WebAnimationDelegate.h"
19 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayerScrollClien t.h" 19 #include "third_party/WebKit/public/platform/WebLayerScrollClient.h"
20 #include "third_party/skia/include/core/SkImageFilter.h" 20 #include "third_party/skia/include/core/SkImageFilter.h"
21 #include "ui/gfx/rect_conversions.h" 21 #include "ui/gfx/rect_conversions.h"
22 22
23 namespace cc { 23 namespace cc {
24 24
25 static int s_next_layer_id = 1; 25 static int s_next_layer_id = 1;
26 26
27 scoped_refptr<Layer> Layer::Create() { 27 scoped_refptr<Layer> Layer::Create() {
28 return make_scoped_refptr(new Layer()); 28 return make_scoped_refptr(new Layer());
29 } 29 }
(...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after
856 856
857 RenderingStatsInstrumentation* Layer::rendering_stats_instrumentation() const { 857 RenderingStatsInstrumentation* Layer::rendering_stats_instrumentation() const {
858 return layer_tree_host_->rendering_stats_instrumentation(); 858 return layer_tree_host_->rendering_stats_instrumentation();
859 } 859 }
860 860
861 bool Layer::SupportsLCDText() const { 861 bool Layer::SupportsLCDText() const {
862 return false; 862 return false;
863 } 863 }
864 864
865 } // namespace cc 865 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layers/layer.h ('k') | cc/layers/layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698