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

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

Issue 15937016: Update refernces to Blink's Platform API (webkit) (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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <vector> 5 #include <vector>
6 #include "cc/layers/picture_image_layer.h" 6 #include "cc/layers/picture_image_layer.h"
7 #include "cc/test/geometry_test_utils.h" 7 #include "cc/test/geometry_test_utils.h"
8 #include "cc/trees/layer_tree_host_common.h" 8 #include "cc/trees/layer_tree_host_common.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatPoint.h" 10 #include "third_party/WebKit/public/platform/WebFloatPoint.h"
11 #include "third_party/WebKit/Source/Platform/chromium/public/WebSize.h" 11 #include "third_party/WebKit/public/platform/WebSize.h"
12 #include "third_party/skia/include/utils/SkMatrix44.h" 12 #include "third_party/skia/include/utils/SkMatrix44.h"
13 #include "ui/gfx/point3_f.h" 13 #include "ui/gfx/point3_f.h"
14 #include "webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds.h" 14 #include "webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds.h"
15 15
16 using WebKit::WebFloatPoint; 16 using WebKit::WebFloatPoint;
17 using WebKit::WebSize; 17 using WebKit::WebSize;
18 18
19 namespace webkit { 19 namespace webkit {
20 namespace { 20 namespace {
21 21
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 191
192 // With non-zero anchor point, WebLayerImplFixedBounds will fall back to 192 // With non-zero anchor point, WebLayerImplFixedBounds will fall back to
193 // WebLayerImpl. 193 // WebLayerImpl.
194 CompareFixedBoundsLayerAndNormalLayer(WebFloatPoint(0.4f, 0.6f), 194 CompareFixedBoundsLayerAndNormalLayer(WebFloatPoint(0.4f, 0.6f),
195 transform, 195 transform,
196 sublayer_transform); 196 sublayer_transform);
197 } 197 }
198 198
199 } // namespace 199 } // namespace
200 } // namespace webkit 200 } // namespace webkit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698