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

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

Issue 2726343004: cc: Optimize decode scheduling for checker-images. (Closed)
Patch Set: rebase Created 3 years, 8 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 | « no previous file | cc/test/fake_layer_tree_host_impl_client.h » ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_LAYER_TREE_HOST_IMPL_H_ 5 #ifndef CC_TEST_FAKE_LAYER_TREE_HOST_IMPL_H_
6 #define CC_TEST_FAKE_LAYER_TREE_HOST_IMPL_H_ 6 #define CC_TEST_FAKE_LAYER_TREE_HOST_IMPL_H_
7 7
8 #include "cc/test/fake_layer_tree_host_impl_client.h" 8 #include "cc/test/fake_layer_tree_host_impl_client.h"
9 #include "cc/test/fake_rendering_stats_instrumentation.h" 9 #include "cc/test/fake_rendering_stats_instrumentation.h"
10 #include "cc/trees/layer_tree_host_impl.h" 10 #include "cc/trees/layer_tree_host_impl.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 bool notify_tile_state_changed_called() const { 50 bool notify_tile_state_changed_called() const {
51 return notify_tile_state_changed_called_; 51 return notify_tile_state_changed_called_;
52 } 52 }
53 void set_notify_tile_state_changed_called(bool called) { 53 void set_notify_tile_state_changed_called(bool called) {
54 notify_tile_state_changed_called_ = called; 54 notify_tile_state_changed_called_ = called;
55 } 55 }
56 56
57 AnimationHost* animation_host() const; 57 AnimationHost* animation_host() const;
58 58
59 FakeLayerTreeHostImplClient* client() { return &client_; }
60
59 private: 61 private:
60 FakeLayerTreeHostImplClient client_; 62 FakeLayerTreeHostImplClient client_;
61 FakeRenderingStatsInstrumentation stats_instrumentation_; 63 FakeRenderingStatsInstrumentation stats_instrumentation_;
62 bool notify_tile_state_changed_called_; 64 bool notify_tile_state_changed_called_;
63 }; 65 };
64 66
65 } // namespace cc 67 } // namespace cc
66 68
67 #endif // CC_TEST_FAKE_LAYER_TREE_HOST_IMPL_H_ 69 #endif // CC_TEST_FAKE_LAYER_TREE_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | cc/test/fake_layer_tree_host_impl_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698