OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef PPAPI_SHARED_IMPL_FONT_IMPL_H_ |
| 6 #define PPAPI_SHARED_IMPL_FONT_IMPL_H_ |
| 7 #pragma once |
| 8 |
| 9 #include <string> |
| 10 |
| 11 #include "base/basictypes.h" |
| 12 #include "base/scoped_ptr.h" |
| 13 #include "ppapi/c/pp_bool.h" |
| 14 #include "ppapi/c/pp_stdint.h" |
| 15 |
| 16 struct PP_FontDescription_Dev; |
| 17 |
| 18 namespace pp { |
| 19 namespace shared_impl { |
| 20 |
| 21 class FontImpl { |
| 22 public: |
| 23 // Validates the parameters in thee description. Can be called on any thread. |
| 24 static bool IsPPFontDescriptionValid(const PP_FontDescription_Dev& desc); |
| 25 |
| 26 private: |
| 27 DISALLOW_COPY_AND_ASSIGN(FontImpl); |
| 28 }; |
| 29 |
| 30 } // namespace shared_impl |
| 31 } // namespace pp |
| 32 |
| 33 #endif // PPAPI_SHARED_IMPL_FONT_IMPL_H_ |
OLD | NEW |