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

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

Issue 8527020: Cleanup: Remove unneeded forward declarations in ppapi. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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
« no previous file with comments | « ppapi/tests/test_core.h ('k') | ppapi/tests/test_video_decoder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PAPPI_TESTS_TEST_GRAPHICS_2D_H_ 5 #ifndef PPAPI_TESTS_TEST_GRAPHICS_2D_H_
6 #define PAPPI_TESTS_TEST_GRAPHICS_2D_H_ 6 #define PPAPI_TESTS_TEST_GRAPHICS_2D_H_
7
8 #include <string>
7 9
8 #include "ppapi/c/pp_stdint.h" 10 #include "ppapi/c/pp_stdint.h"
9 #include "ppapi/tests/test_case.h" 11 #include "ppapi/tests/test_case.h"
10 12
11 struct PPB_Graphics2D; 13 struct PPB_Graphics2D;
12 struct PPB_ImageData; 14 struct PPB_ImageData;
13 struct PPB_Testing_Dev;
14 15
15 namespace pp { 16 namespace pp {
16 class Graphics2D; 17 class Graphics2D;
17 class ImageData; 18 class ImageData;
18 class Point; 19 class Point;
19 class Rect; 20 class Rect;
20 } 21 }
21 22
22 class TestGraphics2D : public TestCase { 23 class TestGraphics2D : public TestCase {
23 public: 24 public:
24 TestGraphics2D(TestingInstance* instance) : TestCase(instance) {} 25 explicit TestGraphics2D(TestingInstance* instance) : TestCase(instance) {}
25 26
26 // TestCase implementation. 27 // TestCase implementation.
27 virtual bool Init(); 28 virtual bool Init();
28 virtual void RunTest(); 29 virtual void RunTest();
29 30
30 void QuitMessageLoop(); 31 void QuitMessageLoop();
31 32
32 private: 33 private:
33 bool ReadImageData(const pp::Graphics2D& dc, 34 bool ReadImageData(const pp::Graphics2D& dc,
34 pp::ImageData* image, 35 pp::ImageData* image,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 std::string TestPaint(); 78 std::string TestPaint();
78 std::string TestScroll(); 79 std::string TestScroll();
79 std::string TestReplace(); 80 std::string TestReplace();
80 std::string TestFlush(); 81 std::string TestFlush();
81 82
82 // Used by the tests that access the C API directly. 83 // Used by the tests that access the C API directly.
83 const PPB_Graphics2D* graphics_2d_interface_; 84 const PPB_Graphics2D* graphics_2d_interface_;
84 const PPB_ImageData* image_data_interface_; 85 const PPB_ImageData* image_data_interface_;
85 }; 86 };
86 87
87 #endif // PAPPI_TESTS_TEST_GRAPHICS_2D_H_ 88 #endif // PPAPI_TESTS_TEST_GRAPHICS_2D_H_
OLDNEW
« no previous file with comments | « ppapi/tests/test_core.h ('k') | ppapi/tests/test_video_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698