Invalidate scans when the host volume is unmounted.
[chromium-blink-merge.git] / ppapi / tests / test_paint_aggregator.h
blob9b83eec4f7aed266ca92e8601a575a4b7de1eab4
1 // Copyright (c) 2011 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 PPAPI_TESTS_TEST_PAINT_AGGREGATOR_H_
6 #define PPAPI_TESTS_TEST_PAINT_AGGREGATOR_H_
8 #include "ppapi/tests/test_case.h"
10 class TestPaintAggregator : public TestCase {
11 public:
12 TestPaintAggregator(TestingInstance* instance) : TestCase(instance) {}
14 // TestCase implementation.
15 virtual bool Init();
16 virtual void RunTests(const std::string& filter);
18 private:
19 std::string TestInitialState();
20 std::string TestSingleInvalidation();
21 std::string TestDoubleDisjointInvalidation();
22 std::string TestSingleScroll();
23 std::string TestDoubleOverlappingScroll();
24 std::string TestNegatingScroll();
25 std::string TestDiagonalScroll();
26 std::string TestContainedPaintAfterScroll();
27 std::string TestContainedPaintBeforeScroll();
28 std::string TestContainedPaintsBeforeAndAfterScroll();
29 std::string TestLargeContainedPaintAfterScroll();
30 std::string TestLargeContainedPaintBeforeScroll();
31 std::string TestOverlappingPaintBeforeScroll();
32 std::string TestOverlappingPaintAfterScroll();
33 std::string TestDisjointPaintBeforeScroll();
34 std::string TestDisjointPaintAfterScroll();
35 std::string TestContainedPaintTrimmedByScroll();
36 std::string TestContainedPaintEliminatedByScroll();
37 std::string TestContainedPaintAfterScrollTrimmedByScrollDamage();
38 std::string TestContainedPaintAfterScrollEliminatedByScrollDamage();
41 #endif // PPAPI_TESTS_TEST_PAINT_AGGREGATOR_H_