| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 PPAPI_TESTS_TEST_BROWSER_FONT_H_ | 5 #ifndef PPAPI_TESTS_TEST_BROWSER_FONT_H_ |
| 6 #define PPAPI_TESTS_TEST_BROWSER_FONT_H_ | 6 #define PPAPI_TESTS_TEST_BROWSER_FONT_H_ |
| 7 | 7 |
| 8 #include "ppapi/tests/test_case.h" | 8 #include "ppapi/tests/test_case.h" |
| 9 | 9 |
| 10 class TestBrowserFont : public TestCase { | 10 class TestBrowserFont : public TestCase { |
| 11 public: | 11 public: |
| 12 TestBrowserFont(TestingInstance* instance) : TestCase(instance) {} | 12 TestBrowserFont(TestingInstance* instance) : TestCase(instance) {} |
| 13 | 13 |
| 14 // TestCase implementation. | 14 // TestCase implementation. |
| 15 virtual bool Init(); | 15 virtual bool Init(); |
| 16 virtual void RunTests(const std::string& filter); | 16 virtual void RunTests(const std::string& filter); |
| 17 | 17 |
| 18 private: | 18 private: |
| 19 std::string TestFontFamilies(); | 19 std::string TestFontFamilies(); |
| 20 std::string TestMeasure(); | 20 std::string TestMeasure(); |
| 21 std::string TestMeasureRTL(); |
| 21 std::string TestCharPos(); | 22 std::string TestCharPos(); |
| 23 std::string TestCharPosRTL(); |
| 22 std::string TestDraw(); | 24 std::string TestDraw(); |
| 23 }; | 25 }; |
| 24 | 26 |
| 25 #endif // PPAPI_TESTS_TEST_BROWSER_FONT_H_ | 27 #endif // PPAPI_TESTS_TEST_BROWSER_FONT_H_ |
| OLD | NEW |