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

Side by Side Diff: ppapi/shared_impl/font_impl.h

Issue 7687005: Create ppapi_proxy.dll. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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
« no previous file with comments | « ppapi/shared_impl/file_ref_impl.h ('k') | ppapi/shared_impl/function_group_base.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 PPAPI_SHARED_IMPL_FONT_IMPL_H_ 5 #ifndef PPAPI_SHARED_IMPL_FONT_IMPL_H_
6 #define PPAPI_SHARED_IMPL_FONT_IMPL_H_ 6 #define PPAPI_SHARED_IMPL_FONT_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "ppapi/c/pp_bool.h" 13 #include "ppapi/c/pp_bool.h"
14 #include "ppapi/c/pp_stdint.h" 14 #include "ppapi/c/pp_stdint.h"
15 #include "ppapi/shared_impl/ppapi_shared_export.h"
15 16
16 struct PP_FontDescription_Dev; 17 struct PP_FontDescription_Dev;
17 18
18 namespace ppapi { 19 namespace ppapi {
19 20
20 class FontImpl { 21 class PPAPI_SHARED_EXPORT FontImpl {
21 public: 22 public:
22 // Validates the parameters in thee description. Can be called on any thread. 23 // Validates the parameters in thee description. Can be called on any thread.
23 static bool IsPPFontDescriptionValid(const PP_FontDescription_Dev& desc); 24 static bool IsPPFontDescriptionValid(const PP_FontDescription_Dev& desc);
24 25
25 private: 26 private:
26 DISALLOW_COPY_AND_ASSIGN(FontImpl); 27 DISALLOW_COPY_AND_ASSIGN(FontImpl);
27 }; 28 };
28 29
29 } // namespace ppapi 30 } // namespace ppapi
30 31
31 #endif // PPAPI_SHARED_IMPL_FONT_IMPL_H_ 32 #endif // PPAPI_SHARED_IMPL_FONT_IMPL_H_
OLDNEW
« no previous file with comments | « ppapi/shared_impl/file_ref_impl.h ('k') | ppapi/shared_impl/function_group_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698