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

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: Resolve comments 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
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( 160 FakePictureLayerImpl(LayerTreeImpl* tree_impl,
161 LayerTreeImpl* tree_impl, 161 int id,
162 int id, 162 bool is_mask,
163 bool is_mask, 163 scoped_refptr<SyncedScrollOffset> synced_scroll_offset);
164 scoped_refptr<LayerImpl::SyncedScrollOffset> synced_scroll_offset);
165 164
166 private: 165 private:
167 gfx::Size fixed_tile_size_; 166 gfx::Size fixed_tile_size_;
168 167
169 size_t append_quads_count_; 168 size_t append_quads_count_;
170 size_t did_become_active_call_count_; 169 size_t did_become_active_call_count_;
171 bool has_valid_tile_priorities_; 170 bool has_valid_tile_priorities_;
172 bool use_set_valid_tile_priorities_flag_; 171 bool use_set_valid_tile_priorities_flag_;
173 size_t release_resources_count_; 172 size_t release_resources_count_;
174 }; 173 };
175 174
176 } // namespace cc 175 } // namespace cc
177 176
178 #endif // CC_TEST_FAKE_PICTURE_LAYER_IMPL_H_ 177 #endif // CC_TEST_FAKE_PICTURE_LAYER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698