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

Unified Diff: third_party/harfbuzz-ng/src/hb-deprecated.h

Issue 70193010: Update harfbuzz-ng to 0.9.24 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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/harfbuzz-ng/src/hb-coretext.cc ('k') | third_party/harfbuzz-ng/src/hb-face.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/harfbuzz-ng/src/hb-deprecated.h
diff --git a/third_party/harfbuzz-ng/src/hb.h b/third_party/harfbuzz-ng/src/hb-deprecated.h
similarity index 71%
copy from third_party/harfbuzz-ng/src/hb.h
copy to third_party/harfbuzz-ng/src/hb-deprecated.h
index 52c479cc2e545b810a6b7c12875987d90bae6da4..30ae4b1caf76dd03cc682eda7458728b5380ad6c 100644
--- a/third_party/harfbuzz-ng/src/hb.h
+++ b/third_party/harfbuzz-ng/src/hb-deprecated.h
@@ -1,5 +1,5 @@
/*
- * Copyright © 2009 Red Hat, Inc.
+ * Copyright © 2013 Google, Inc.
*
* This is part of HarfBuzz, a text shaping library.
*
@@ -21,25 +21,31 @@
* ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
*
- * Red Hat Author(s): Behdad Esfahbod
+ * Google Author(s): Behdad Esfahbod
*/
-#ifndef HB_H
-#define HB_H
-#define HB_H_IN
+#ifndef HB_H_IN
+#error "Include <hb.h> instead."
+#endif
+
+#ifndef HB_DEPRECATED_H
+#define HB_DEPRECATED_H
-#include "hb-blob.h"
-#include "hb-buffer.h"
#include "hb-common.h"
-#include "hb-font.h"
-#include "hb-set.h"
-#include "hb-shape.h"
-#include "hb-shape-plan.h"
#include "hb-unicode.h"
-#include "hb-version.h"
+#include "hb-font.h"
HB_BEGIN_DECLS
+
+#ifndef HB_DISABLE_DEPRECATED
+
+#define HB_SCRIPT_CANADIAN_ABORIGINAL HB_SCRIPT_CANADIAN_SYLLABICS
+
+#define HB_BUFFER_FLAGS_DEFAULT HB_BUFFER_FLAG_DEFAULT
+#define HB_BUFFER_SERIALIZE_FLAGS_DEFAULT HB_BUFFER_SERIALIZE_FLAG_DEFAULT
+
+#endif
+
HB_END_DECLS
-#undef HB_H_IN
-#endif /* HB_H */
+#endif /* HB_DEPRECATED_H */
« no previous file with comments | « third_party/harfbuzz-ng/src/hb-coretext.cc ('k') | third_party/harfbuzz-ng/src/hb-face.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698