| Index: cc/test/impl_side_painting_settings.h
|
| diff --git a/cc/test/impl_side_painting_settings.h b/cc/test/impl_side_painting_settings.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1ea7e7837d7789b83eb1d6b66fbdf97962e0ee43
|
| --- /dev/null
|
| +++ b/cc/test/impl_side_painting_settings.h
|
| @@ -0,0 +1,26 @@
|
| +// 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_IMPL_SIDE_PAINTING_SETTINGS_H_
|
| +#define CC_TEST_IMPL_SIDE_PAINTING_SETTINGS_H_
|
| +
|
| +#include "cc/trees/layer_tree_settings.h"
|
| +
|
| +namespace cc {
|
| +
|
| +class ImplSidePaintingSettings : public LayerTreeSettings {
|
| + public:
|
| + ImplSidePaintingSettings() {
|
| + impl_side_painting = true;
|
| + }
|
| +
|
| + explicit ImplSidePaintingSettings(int interest_rect_tiles) {
|
| + impl_side_painting = true;
|
| + max_tiles_for_interest_area = interest_rect_tiles;
|
| + }
|
| +};
|
| +
|
| +} // namespace cc
|
| +
|
| +#endif // CC_TEST_IMPL_SIDE_PAINTING_SETTINGS_H_
|
|
|