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

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

Issue 935333002: Update from https://crrev.com/316786 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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/failure_output_surface.cc ('k') | cc/test/fake_output_surface.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 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_LAYER_TREE_HOST_H_ 5 #ifndef CC_TEST_FAKE_LAYER_TREE_HOST_H_
6 #define CC_TEST_FAKE_LAYER_TREE_HOST_H_ 6 #define CC_TEST_FAKE_LAYER_TREE_HOST_H_
7 7
8 #include "cc/debug/micro_benchmark_controller.h" 8 #include "cc/debug/micro_benchmark_controller.h"
9 #include "cc/test/fake_impl_proxy.h" 9 #include "cc/test/fake_impl_proxy.h"
10 #include "cc/test/fake_layer_tree_host_client.h" 10 #include "cc/test/fake_layer_tree_host_client.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 void UpdateLayers(ResourceUpdateQueue* queue) { 44 void UpdateLayers(ResourceUpdateQueue* queue) {
45 LayerTreeHost::UpdateLayers(queue); 45 LayerTreeHost::UpdateLayers(queue);
46 } 46 }
47 47
48 MicroBenchmarkController* GetMicroBenchmarkController() { 48 MicroBenchmarkController* GetMicroBenchmarkController() {
49 return &micro_benchmark_controller_; 49 return &micro_benchmark_controller_;
50 } 50 }
51 51
52 bool needs_commit() { return needs_commit_; } 52 bool needs_commit() { return needs_commit_; }
53 53
54 private: 54 protected:
55 FakeLayerTreeHost(FakeLayerTreeHostClient* client, 55 FakeLayerTreeHost(FakeLayerTreeHostClient* client,
56 const LayerTreeSettings& settings); 56 const LayerTreeSettings& settings);
57 57
58 private:
58 FakeImplProxy proxy_; 59 FakeImplProxy proxy_;
59 FakeLayerTreeHostClient* client_; 60 FakeLayerTreeHostClient* client_;
60 TestSharedBitmapManager manager_; 61 TestSharedBitmapManager manager_;
61 FakeLayerTreeHostImpl host_impl_; 62 FakeLayerTreeHostImpl host_impl_;
62 bool needs_commit_; 63 bool needs_commit_;
63 }; 64 };
64 65
65 } // namespace cc 66 } // namespace cc
66 67
67 #endif // CC_TEST_FAKE_LAYER_TREE_HOST_H_ 68 #endif // CC_TEST_FAKE_LAYER_TREE_HOST_H_
OLDNEW
« no previous file with comments | « cc/test/failure_output_surface.cc ('k') | cc/test/fake_output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698