| 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_PPB_FONT_SHARED_H_ | |
| 6 #define PPAPI_SHARED_IMPL_PPB_FONT_SHARED_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include <string> | |
| 10 | |
| 11 #include "base/basictypes.h" | |
| 12 #include "base/memory/scoped_ptr.h" | |
| 13 #include "ppapi/c/pp_bool.h" | |
| 14 #include "ppapi/c/pp_stdint.h" | |
| 15 #include "ppapi/shared_impl/ppapi_shared_export.h" | |
| 16 | |
| 17 struct PP_FontDescription_Dev; | |
| 18 | |
| 19 namespace ppapi { | |
| 20 | |
| 21 class PPAPI_SHARED_EXPORT PPB_Font_Shared { | |
| 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(PPB_Font_Shared); | |
| 28 }; | |
| 29 | |
| 30 } // namespace ppapi | |
| 31 | |
| 32 #endif // PPAPI_SHARED_IMPL_PPB_FONT_SHARED_H_ | |
| OLD | NEW |