Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(279)

Side by Side Diff: ppapi/tests/test_printing.h

Issue 10826072: Implement browser side of PPB_Printing resource. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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.
4
5 #ifndef PPAPI_TESTS_TEST_PRINTING_H_
6 #define PPAPI_TESTS_TEST_PRINTING_H_
7
8 #include <string>
9
10 #include "ppapi/tests/test_case.h"
11 #include "ppapi/tests/test_utils.h"
12 #include "ppapi/utility/completion_callback_factory.h"
13
14 struct PP_PrintSettings_Dev;
15
16 class TestPrinting : public TestCase {
17 public:
18 explicit TestPrinting(TestingInstance* instance);
19
20 // TestCase implementation.
21 virtual void RunTests(const std::string& filter);
22
23 private:
24 // Tests.
25 std::string TestGetDefaultPrintSettings();
26
27 void Callback(int32_t result,
28 PP_PrintSettings_Dev&);
29
30 NestedEvent nested_event_;
31
32 pp::CompletionCallbackFactory<TestPrinting> callback_factory_;
33 };
34
35 #endif // PPAPI_TESTS_TEST_PRINTING_H_
brettw 2012/09/18 21:41:38 Two spaces before //
raymes 2012/09/18 23:43:57 Done.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698