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

Side by Side Diff: cc/test/serialization_test_utils.h

Issue 2493523003: cc: Remove unused proto conversion code. (Closed)
Patch Set: test Created 4 years, 1 month 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
« no previous file with comments | « cc/test/remote_compositor_test.cc ('k') | cc/test/serialization_test_utils.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef CC_TEST_SERIALIZATION_TEST_UTILS_H_ 5 #ifndef CC_TEST_SERIALIZATION_TEST_UTILS_H_
6 #define CC_TEST_SERIALIZATION_TEST_UTILS_H_ 6 #define CC_TEST_SERIALIZATION_TEST_UTILS_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 9
10 namespace cc { 10 namespace cc {
11 class CompositorStateDeserializer; 11 class CompositorStateDeserializer;
12 class FakePictureLayer;
12 class Layer; 13 class Layer;
13 class LayerTree; 14 class LayerTree;
15 class SolidColorScrollbarLayer;
14 16
15 void VerifySerializedTreesAreIdentical( 17 void VerifySerializedTreesAreIdentical(
16 LayerTree* engine_layer_tree, 18 LayerTree* engine_layer_tree,
17 LayerTree* client_layer_tree, 19 LayerTree* client_layer_tree,
18 CompositorStateDeserializer* compositor_state_deserializer); 20 CompositorStateDeserializer* compositor_state_deserializer);
19 21
20 void VerifySerializedLayersAreIdentical( 22 void VerifySerializedLayersAreIdentical(
21 Layer* engine_layer, 23 Layer* engine_layer,
22 Layer* client_layer, 24 CompositorStateDeserializer* compositor_state_deserializer);
25
26 void VerifySerializedScrollbarLayersAreIdentical(
27 SolidColorScrollbarLayer* engine_layer,
28 CompositorStateDeserializer* compositor_state_deserializer);
29
30 void VerifySerializedPictureLayersAreIdentical(
31 FakePictureLayer* engine_layer,
23 CompositorStateDeserializer* compositor_state_deserializer); 32 CompositorStateDeserializer* compositor_state_deserializer);
24 33
25 } // namespace cc 34 } // namespace cc
26 35
27 #endif // CC_TEST_SERIALIZATION_TEST_UTILS_H_ 36 #endif // CC_TEST_SERIALIZATION_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « cc/test/remote_compositor_test.cc ('k') | cc/test/serialization_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698