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

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

Issue 1736073002: cc: Move SyncedScrollOffset to scroll tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and add comment Created 4 years, 9 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
« no previous file with comments | « cc/test/fake_layer_tree_host.cc ('k') | cc/test/fake_picture_layer_impl.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 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 #ifndef CC_TEST_FAKE_PICTURE_LAYER_IMPL_H_ 5 #ifndef CC_TEST_FAKE_PICTURE_LAYER_IMPL_H_
6 #define CC_TEST_FAKE_PICTURE_LAYER_IMPL_H_ 6 #define CC_TEST_FAKE_PICTURE_LAYER_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 FakePictureLayerImpl(LayerTreeImpl* tree_impl, 150 FakePictureLayerImpl(LayerTreeImpl* tree_impl,
151 int id, 151 int id,
152 scoped_refptr<DisplayListRasterSource> raster_source, 152 scoped_refptr<DisplayListRasterSource> raster_source,
153 bool is_mask); 153 bool is_mask);
154 FakePictureLayerImpl(LayerTreeImpl* tree_impl, 154 FakePictureLayerImpl(LayerTreeImpl* tree_impl,
155 int id, 155 int id,
156 scoped_refptr<DisplayListRasterSource> raster_source, 156 scoped_refptr<DisplayListRasterSource> raster_source,
157 bool is_mask, 157 bool is_mask,
158 const gfx::Size& layer_bounds); 158 const gfx::Size& layer_bounds);
159 FakePictureLayerImpl(LayerTreeImpl* tree_impl, int id, bool is_mask); 159 FakePictureLayerImpl(LayerTreeImpl* tree_impl, int id, bool is_mask);
160 FakePictureLayerImpl(
161 LayerTreeImpl* tree_impl,
162 int id,
163 bool is_mask,
164 scoped_refptr<LayerImpl::SyncedScrollOffset> synced_scroll_offset);
165 160
166 private: 161 private:
167 gfx::Size fixed_tile_size_; 162 gfx::Size fixed_tile_size_;
168 163
169 size_t append_quads_count_; 164 size_t append_quads_count_;
170 size_t did_become_active_call_count_; 165 size_t did_become_active_call_count_;
171 bool has_valid_tile_priorities_; 166 bool has_valid_tile_priorities_;
172 bool use_set_valid_tile_priorities_flag_; 167 bool use_set_valid_tile_priorities_flag_;
173 size_t release_resources_count_; 168 size_t release_resources_count_;
174 }; 169 };
175 170
176 } // namespace cc 171 } // namespace cc
177 172
178 #endif // CC_TEST_FAKE_PICTURE_LAYER_IMPL_H_ 173 #endif // CC_TEST_FAKE_PICTURE_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/test/fake_layer_tree_host.cc ('k') | cc/test/fake_picture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698