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

Side by Side Diff: cc/layers/layer_impl_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/layers/layer_impl.h ('k') | cc/layers/texture_layer.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/layers/layer_impl.h" 5 #include "cc/layers/layer_impl.h"
6 6
7 #include "cc/test/fake_impl_proxy.h" 7 #include "cc/test/fake_impl_proxy.h"
8 #include "cc/test/fake_layer_tree_host_impl.h" 8 #include "cc/test/fake_layer_tree_host_impl.h"
9 #include "cc/test/fake_output_surface.h" 9 #include "cc/test/fake_output_surface.h"
10 #include "cc/trees/layer_tree_impl.h" 10 #include "cc/trees/layer_tree_impl.h"
11 #include "cc/trees/single_thread_proxy.h" 11 #include "cc/trees/single_thread_proxy.h"
12 #include "testing/gmock/include/gmock/gmock.h" 12 #include "testing/gmock/include/gmock/gmock.h"
13 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
14 #include "third_party/WebKit/Source/Platform/chromium/public/WebFilterOperation. h" 14 #include "third_party/WebKit/public/platform/WebFilterOperation.h"
15 #include "third_party/WebKit/Source/Platform/chromium/public/WebFilterOperations .h" 15 #include "third_party/WebKit/public/platform/WebFilterOperations.h"
16 #include "third_party/skia/include/effects/SkBlurImageFilter.h" 16 #include "third_party/skia/include/effects/SkBlurImageFilter.h"
17 17
18 using WebKit::WebFilterOperation; 18 using WebKit::WebFilterOperation;
19 using WebKit::WebFilterOperations; 19 using WebKit::WebFilterOperations;
20 20
21 namespace cc { 21 namespace cc {
22 namespace { 22 namespace {
23 23
24 #define EXECUTE_AND_VERIFY_SUBTREE_CHANGED(code_to_test) \ 24 #define EXECUTE_AND_VERIFY_SUBTREE_CHANGED(code_to_test) \
25 root->ResetAllChangeTrackingForSubtree(); \ 25 root->ResetAllChangeTrackingForSubtree(); \
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 VERIFY_NO_NEEDS_UPDATE_DRAW_PROPERTIES(root->SetOpacity(arbitrary_number)); 288 VERIFY_NO_NEEDS_UPDATE_DRAW_PROPERTIES(root->SetOpacity(arbitrary_number));
289 VERIFY_NO_NEEDS_UPDATE_DRAW_PROPERTIES( 289 VERIFY_NO_NEEDS_UPDATE_DRAW_PROPERTIES(
290 root->SetTransform(arbitrary_transform)); 290 root->SetTransform(arbitrary_transform));
291 VERIFY_NO_NEEDS_UPDATE_DRAW_PROPERTIES( 291 VERIFY_NO_NEEDS_UPDATE_DRAW_PROPERTIES(
292 root->SetSublayerTransform(arbitrary_transform)); 292 root->SetSublayerTransform(arbitrary_transform));
293 VERIFY_NO_NEEDS_UPDATE_DRAW_PROPERTIES(root->SetBounds(arbitrary_size)); 293 VERIFY_NO_NEEDS_UPDATE_DRAW_PROPERTIES(root->SetBounds(arbitrary_size));
294 } 294 }
295 295
296 } // namespace 296 } // namespace
297 } // namespace cc 297 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layers/layer_impl.h ('k') | cc/layers/texture_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698