From dc7316f52f8c9175210a20fdc10a087ab5e6d054 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 26 May 2016 14:23:20 -0700 Subject: [PATCH] Upper case abbreviations --- atom/common/api/atom_api_clipboard.cc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/atom/common/api/atom_api_clipboard.cc b/atom/common/api/atom_api_clipboard.cc index 1f75f2cd3fe7..b33741687015 100644 --- a/atom/common/api/atom_api_clipboard.cc +++ b/atom/common/api/atom_api_clipboard.cc @@ -146,13 +146,19 @@ void Initialize(v8::Local exports, v8::Local unused, dict.SetMethod("write", &Write); dict.SetMethod("readText", &ReadText); dict.SetMethod("writeText", &WriteText); + dict.SetMethod("readRTF", &ReadRtf); + dict.SetMethod("writeRTF", &WriteRtf); + dict.SetMethod("readHTML", &ReadHtml); + dict.SetMethod("writeHTML", &WriteHtml); + dict.SetMethod("readImage", &ReadImage); + dict.SetMethod("writeImage", &WriteImage); + dict.SetMethod("clear", &Clear); + + // TODO Remove in 2.0, deprecate before then with warnings dict.SetMethod("readRtf", &ReadRtf); dict.SetMethod("writeRtf", &WriteRtf); dict.SetMethod("readHtml", &ReadHtml); dict.SetMethod("writeHtml", &WriteHtml); - dict.SetMethod("readImage", &ReadImage); - dict.SetMethod("writeImage", &WriteImage); - dict.SetMethod("clear", &Clear); } } // namespace