Chromium Code Reviews| Index: content/browser/renderer_host/pepper/pepper_truetype_font_singleton_host.h |
| diff --git a/content/browser/renderer_host/pepper/pepper_truetype_font_singleton_host.h b/content/browser/renderer_host/pepper/pepper_truetype_font_singleton_host.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..dc8713c3369347ca2f4b7baaa723d9b61304758d |
| --- /dev/null |
| +++ b/content/browser/renderer_host/pepper/pepper_truetype_font_singleton_host.h |
| @@ -0,0 +1,28 @@ |
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_TRUETYPE_FONT_SINGLETON_HOST_H_ |
| +#define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_TRUETYPE_FONT_SINGLETON_HOST_H_ |
| + |
| +#include "base/basictypes.h" |
| +#include "ppapi/host/resource_host.h" |
| + |
| +namespace content { |
| + |
| +class BrowserPpapiHost; |
| + |
| +class PepperTrueTypeFontSingletonHost : public ppapi::host::ResourceHost { |
|
dmichael (off chromium)
2013/03/12 18:07:58
This name's pretty long, and it looks like we don'
bbudge
2013/03/13 01:26:50
This follows the precedent of browser_font_singlet
dmichael (off chromium)
2013/03/13 21:50:51
That one actually is the exception to the rule...
bbudge
2013/03/13 22:48:50
Done. I renamed it PepperTrueTypeFontListHost.
|
| + public: |
| + PepperTrueTypeFontSingletonHost(BrowserPpapiHost* host, |
| + PP_Instance instance, |
| + PP_Resource resource); |
| + virtual ~PepperTrueTypeFontSingletonHost(); |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(PepperTrueTypeFontSingletonHost); |
| +}; |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_TRUETYPE_FONT_SINGLETON_HOST_H_ |