[Mac] Make app window backgrounds white.
[chromium-blink-merge.git] / cc / test / impl_side_painting_settings.h
blob1ea7e7837d7789b83eb1d6b66fbdf97962e0ee43
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
3 // found in the LICENSE file.
5 #ifndef CC_TEST_IMPL_SIDE_PAINTING_SETTINGS_H_
6 #define CC_TEST_IMPL_SIDE_PAINTING_SETTINGS_H_
8 #include "cc/trees/layer_tree_settings.h"
10 namespace cc {
12 class ImplSidePaintingSettings : public LayerTreeSettings {
13 public:
14 ImplSidePaintingSettings() {
15 impl_side_painting = true;
18 explicit ImplSidePaintingSettings(int interest_rect_tiles) {
19 impl_side_painting = true;
20 max_tiles_for_interest_area = interest_rect_tiles;
24 } // namespace cc
26 #endif // CC_TEST_IMPL_SIDE_PAINTING_SETTINGS_H_