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

Side by Side Diff: webkit/compositor_bindings/web_layer_impl.cc

Issue 12603013: Part 10 of cc/ directory shuffles: layers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
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/animation.h" 8 #include "cc/animation/animation.h"
9 #include "cc/base/region.h" 9 #include "cc/base/region.h"
10 #include "cc/layer.h" 10 #include "cc/layers/layer.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/skia/include/utils/SkMatrix44.h" 14 #include "third_party/skia/include/utils/SkMatrix44.h"
15 #include "webkit/compositor_bindings/web_animation_impl.h" 15 #include "webkit/compositor_bindings/web_animation_impl.h"
16 16
17 using cc::Animation; 17 using cc::Animation;
18 using cc::Layer; 18 using cc::Layer;
19 19
20 namespace WebKit { 20 namespace WebKit {
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 return layer_->fixed_to_container_layer(); 311 return layer_->fixed_to_container_layer();
312 } 312 }
313 313
314 void WebLayerImpl::setScrollClient(WebLayerScrollClient* scroll_client) { 314 void WebLayerImpl::setScrollClient(WebLayerScrollClient* scroll_client) {
315 layer_->set_layer_scroll_client(scroll_client); 315 layer_->set_layer_scroll_client(scroll_client);
316 } 316 }
317 317
318 Layer* WebLayerImpl::layer() const { return layer_.get(); } 318 Layer* WebLayerImpl::layer() const { return layer_.get(); }
319 319
320 } // namespace WebKit 320 } // namespace WebKit
OLDNEW
« no previous file with comments | « webkit/compositor_bindings/web_image_layer_impl.cc ('k') | webkit/compositor_bindings/web_layer_impl_fixed_bounds.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698