Chromium Code Reviews| Index: cc/test/fake_layer_tree_settings.h |
| diff --git a/cc/test/fake_layer_tree_settings.h b/cc/test/fake_layer_tree_settings.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..190ced8de5a9fe4d01f4a9ad25266361de19d83d |
| --- /dev/null |
| +++ b/cc/test/fake_layer_tree_settings.h |
| @@ -0,0 +1,28 @@ |
| +// Copyright 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CC_TEST_FAKE_LAYER_TREE_SETTINGS_H_ |
| +#define CC_TEST_FAKE_LAYER_TREE_SETTINGS_H_ |
| + |
| +#include "cc/trees/layer_tree_settings.h" |
| + |
| +namespace cc { |
| + |
| +class FakeLayerTreeSettings : public LayerTreeSettings { |
|
reveman
2014/05/12 02:30:52
why not change ImplSidePaintingSettings instead of
Sergey
2014/05/12 08:07:21
Judging from ImplSidePaintingSettings class name,
reveman
2014/05/12 15:44:04
You should probably remove ImplSidePaintingSetting
Sergey
2014/05/12 23:37:47
Agree on that, let's make some refactoring :)
Sergey
2014/05/13 05:37:44
Done.
|
| + public: |
| + FakeLayerTreeSettings() { |
| + impl_side_painting = true; |
| + create_low_res_tiling = true; |
| + } |
| + |
| + FakeLayerTreeSettings(bool create_low_res_tiling_) { |
| + impl_side_painting = true; |
| + create_low_res_tiling = create_low_res_tiling_; |
| + } |
| + |
| +}; |
| + |
| +} // namespace cc |
| + |
| +#endif // CC_TEST_FAKE_LAYER_TREE_SETTINGS_H_ |