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

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

Issue 800613009: Convert scroll offsets to use SyncedProperty. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android WebView tests Created 5 years, 10 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_content_layer_impl.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 "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "cc/layers/picture_layer_impl.h" 9 #include "cc/layers/picture_layer_impl.h"
10 10
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 FakePictureLayerImpl(LayerTreeImpl* tree_impl, 142 FakePictureLayerImpl(LayerTreeImpl* tree_impl,
143 int id, 143 int id,
144 scoped_refptr<RasterSource> raster_source, 144 scoped_refptr<RasterSource> raster_source,
145 bool is_mask); 145 bool is_mask);
146 FakePictureLayerImpl(LayerTreeImpl* tree_impl, 146 FakePictureLayerImpl(LayerTreeImpl* tree_impl,
147 int id, 147 int id,
148 scoped_refptr<RasterSource> raster_source, 148 scoped_refptr<RasterSource> raster_source,
149 bool is_mask, 149 bool is_mask,
150 const gfx::Size& layer_bounds); 150 const gfx::Size& layer_bounds);
151 FakePictureLayerImpl(LayerTreeImpl* tree_impl, int id, bool is_mask); 151 FakePictureLayerImpl(LayerTreeImpl* tree_impl, int id, bool is_mask);
152 FakePictureLayerImpl(
153 LayerTreeImpl* tree_impl,
154 int id,
155 bool is_mask,
156 scoped_refptr<LayerImpl::SyncedScrollOffset> synced_scroll_offset);
152 157
153 private: 158 private:
154 gfx::Size fixed_tile_size_; 159 gfx::Size fixed_tile_size_;
155 160
156 size_t append_quads_count_; 161 size_t append_quads_count_;
157 size_t did_become_active_call_count_; 162 size_t did_become_active_call_count_;
158 bool has_valid_tile_priorities_; 163 bool has_valid_tile_priorities_;
159 bool use_set_valid_tile_priorities_flag_; 164 bool use_set_valid_tile_priorities_flag_;
160 size_t release_resources_count_; 165 size_t release_resources_count_;
161 }; 166 };
162 167
163 } // namespace cc 168 } // namespace cc
164 169
165 #endif // CC_TEST_FAKE_PICTURE_LAYER_IMPL_H_ 170 #endif // CC_TEST_FAKE_PICTURE_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/test/fake_content_layer_impl.cc ('k') | cc/test/fake_picture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698