| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |