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

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

Issue 14651027: Move webkit/compositor_bindings into webkit/renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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/renderer/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/layers/layer.h" 10 #include "cc/layers/layer.h"
11 #include "cc/layers/layer_position_constraint.h" 11 #include "cc/layers/layer_position_constraint.h"
12 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatPoint.h" 12 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatPoint.h"
13 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatRect.h" 13 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatRect.h"
14 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayerPositionCon straint.h" 14 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayerPositionCon straint.h"
15 #include "third_party/WebKit/Source/Platform/chromium/public/WebSize.h" 15 #include "third_party/WebKit/Source/Platform/chromium/public/WebSize.h"
16 #include "third_party/skia/include/utils/SkMatrix44.h" 16 #include "third_party/skia/include/utils/SkMatrix44.h"
17 #include "webkit/compositor_bindings/web_animation_impl.h" 17 #include "webkit/renderer/compositor_bindings/web_animation_impl.h"
18 18
19 using cc::Animation; 19 using cc::Animation;
20 using cc::Layer; 20 using cc::Layer;
21 using WebKit::WebLayer; 21 using WebKit::WebLayer;
22 using WebKit::WebFloatPoint; 22 using WebKit::WebFloatPoint;
23 using WebKit::WebVector; 23 using WebKit::WebVector;
24 using WebKit::WebRect; 24 using WebKit::WebRect;
25 using WebKit::WebSize; 25 using WebKit::WebSize;
26 using WebKit::WebColor; 26 using WebKit::WebColor;
27 using WebKit::WebFilterOperations; 27 using WebKit::WebFilterOperations;
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 void WebLayerImpl::setScrollClient( 343 void WebLayerImpl::setScrollClient(
344 WebKit::WebLayerScrollClient* scroll_client) { 344 WebKit::WebLayerScrollClient* scroll_client) {
345 layer_->set_layer_scroll_client(scroll_client); 345 layer_->set_layer_scroll_client(scroll_client);
346 } 346 }
347 347
348 bool WebLayerImpl::isOrphan() const { return !layer_->layer_tree_host(); } 348 bool WebLayerImpl::isOrphan() const { return !layer_->layer_tree_host(); }
349 349
350 Layer* WebLayerImpl::layer() const { return layer_.get(); } 350 Layer* WebLayerImpl::layer() const { return layer_.get(); }
351 351
352 } // namespace WebKit 352 } // namespace WebKit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698