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

Side by Side Diff: cc/trees/damage_tracker_unittest.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/trees/damage_tracker.cc ('k') | cc/trees/layer_tree_host_unittest_context.cc » ('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 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 "cc/trees/damage_tracker.h" 5 #include "cc/trees/damage_tracker.h"
6 6
7 #include "cc/base/math_util.h" 7 #include "cc/base/math_util.h"
8 #include "cc/layers/layer_impl.h" 8 #include "cc/layers/layer_impl.h"
9 #include "cc/test/fake_impl_proxy.h" 9 #include "cc/test/fake_impl_proxy.h"
10 #include "cc/test/fake_layer_tree_host_impl.h" 10 #include "cc/test/fake_layer_tree_host_impl.h"
11 #include "cc/test/geometry_test_utils.h" 11 #include "cc/test/geometry_test_utils.h"
12 #include "cc/trees/layer_tree_host_common.h" 12 #include "cc/trees/layer_tree_host_common.h"
13 #include "cc/trees/single_thread_proxy.h" 13 #include "cc/trees/single_thread_proxy.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 #include "third_party/WebKit/Source/Platform/chromium/public/WebFilterOperation. h" 15 #include "third_party/WebKit/public/platform/WebFilterOperation.h"
16 #include "third_party/WebKit/Source/Platform/chromium/public/WebFilterOperations .h" 16 #include "third_party/WebKit/public/platform/WebFilterOperations.h"
17 #include "third_party/skia/include/effects/SkBlurImageFilter.h" 17 #include "third_party/skia/include/effects/SkBlurImageFilter.h"
18 #include "ui/gfx/quad_f.h" 18 #include "ui/gfx/quad_f.h"
19 19
20 using WebKit::WebFilterOperation; 20 using WebKit::WebFilterOperation;
21 using WebKit::WebFilterOperations; 21 using WebKit::WebFilterOperations;
22 22
23 namespace cc { 23 namespace cc {
24 namespace { 24 namespace {
25 25
26 void ExecuteCalculateDrawProperties( 26 void ExecuteCalculateDrawProperties(
(...skipping 1325 matching lines...) Expand 10 before | Expand all | Expand 10 after
1352 // Damage should remain empty even after one frame, since there's yet no new 1352 // Damage should remain empty even after one frame, since there's yet no new
1353 // damage. 1353 // damage.
1354 EmulateDrawingOneFrame(root.get()); 1354 EmulateDrawingOneFrame(root.get());
1355 root_damage_rect = 1355 root_damage_rect =
1356 root->render_surface()->damage_tracker()->current_damage_rect(); 1356 root->render_surface()->damage_tracker()->current_damage_rect();
1357 EXPECT_TRUE(root_damage_rect.IsEmpty()); 1357 EXPECT_TRUE(root_damage_rect.IsEmpty());
1358 } 1358 }
1359 1359
1360 } // namespace 1360 } // namespace
1361 } // namespace cc 1361 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/damage_tracker.cc ('k') | cc/trees/layer_tree_host_unittest_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698