move constants to atom_constants.h

This commit is contained in:
deepak1556 2017-02-03 15:06:53 +05:30
parent 671a8a2cd6
commit e90fd1444f
7 changed files with 27 additions and 22 deletions

View file

@ -26,5 +26,10 @@ const char kSecureProtocolDescription[] =
const char kPdfPluginMimeType[] = "application/x-google-chrome-pdf";
const char kPdfPluginPath[] = "chrome://pdf-viewer/";
const char kPdfPluginSrc[] = "src";
const char kPdfViewerUIOrigin[] = "chrome://pdf-viewer/";
const char kPdfViewerUIHost[] = "pdf-viewer";
const char kPdfViewerUIId[] = "viewId";
} // namespace atom

View file

@ -23,6 +23,12 @@ extern const char kSecureProtocolDescription[];
// The MIME type used for the PDF plugin.
extern const char kPdfPluginMimeType[];
extern const char kPdfPluginPath[];
extern const char kPdfPluginSrc[];
// Constants for PDF viewer webui.
extern const char kPdfViewerUIOrigin[];
extern const char kPdfViewerUIHost[];
extern const char kPdfViewerUIId[];
} // namespace atom