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

Unified Diff: content/browser/renderer_host/pepper/pepper_truetype_font_singleton_host.h

Issue 12600019: Add Pepper TrueType font API plumbing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698