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

Unified Diff: third_party/WebKit/public/platform/modules/font_access/WebFontAccessDescription.h

Issue 1615133002: Implement API for accessing fonts installed locally on the system. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing Nasko. Created 4 years, 10 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
« no previous file with comments | « third_party/WebKit/public/platform/modules/font_access/WebFontAccess.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/modules/font_access/WebFontAccessDescription.h
diff --git a/third_party/WebKit/public/platform/modules/font_access/WebFontAccessDescription.h b/third_party/WebKit/public/platform/modules/font_access/WebFontAccessDescription.h
new file mode 100644
index 0000000000000000000000000000000000000000..f168830bce4cf58b002784bea44a81440c005ca5
--- /dev/null
+++ b/third_party/WebKit/public/platform/modules/font_access/WebFontAccessDescription.h
@@ -0,0 +1,30 @@
+// Copyright 2016 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 WebFontAccessDescription_h
+#define WebFontAccessDescription_h
+
+#include "public/platform/WebCallbacks.h"
+#include "public/platform/WebPassOwnPtr.h"
+#include "public/platform/WebString.h"
+#include "public/platform/WebVector.h"
+
+namespace blink {
+
+struct WebFontAccessDescription {
+ WebFontAccessDescription(const WebString& family, const WebString& style, const WebString& fullName)
+ : family(family)
+ , style(style)
+ , fullName(fullName)
+ {
+ }
+
+ WebString family;
+ WebString style;
+ WebString fullName;
+};
+
+} // namespace blink
+
+#endif // WebFontAccessDescription_h
« no previous file with comments | « third_party/WebKit/public/platform/modules/font_access/WebFontAccess.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698