move constants to atom_constants.h
This commit is contained in:
parent
671a8a2cd6
commit
e90fd1444f
7 changed files with 27 additions and 22 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue