1 // Copyright (c) 2012 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_PRINTING_H_
6 #define PPAPI_TESTS_TEST_PRINTING_H_
10 #include "ppapi/tests/test_case.h"
11 #include "ppapi/tests/test_utils.h"
12 #include "ppapi/utility/completion_callback_factory.h"
14 struct PP_PrintSettings_Dev
;
16 class TestPrinting
: public TestCase
{
18 explicit TestPrinting(TestingInstance
* instance
);
20 // TestCase implementation.
21 virtual void RunTests(const std::string
& filter
);
25 std::string
TestGetDefaultPrintSettings();
27 void Callback(int32_t result
,
28 PP_PrintSettings_Dev
&);
30 NestedEvent nested_event_
;
32 pp::CompletionCallbackFactory
<TestPrinting
> callback_factory_
;
35 #endif // PPAPI_TESTS_TEST_PRINTING_H_