blob: 7de536855e97f463415ba64535c9c6c8ae36bda7 [file] [log] [blame]
K. Moon832a6942022-10-31 20:11:31 +00001// Copyright 2017 The PDFium Authors
dan sinclair993a1992017-10-25 20:21:09 -04002// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
Dan Sinclaire0345a42017-10-30 20:20:42 +00007#ifndef FXJS_CJS_DISPLAY_H_
8#define FXJS_CJS_DISPLAY_H_
dan sinclair993a1992017-10-25 20:21:09 -04009
Lei Zhang31beedc2018-10-18 21:09:55 +000010#include "fxjs/cjs_object.h"
dan sinclair993a1992017-10-25 20:21:09 -040011
Tom Sepez55865452018-08-27 20:18:04 +000012class CJS_Display final : public CJS_Object {
dan sinclair993a1992017-10-25 20:21:09 -040013 public:
Dan Sinclairbef4d3e2017-10-26 16:49:38 -040014 static void DefineJSObjects(CFXJS_Engine* pEngine);
Dan Sinclairef299532017-10-26 16:48:30 -040015
Tom Sepez007daeb2018-10-29 20:55:28 +000016 CJS_Display() = delete;
dan sinclair993a1992017-10-25 20:21:09 -040017
Dan Sinclairef299532017-10-26 16:48:30 -040018 private:
Tom Sepezb4958712020-10-13 20:30:43 +000019 static uint32_t ObjDefnID;
Dan Sinclairc94a7932017-10-26 16:48:57 -040020 static const JSConstSpec ConstSpecs[];
dan sinclair993a1992017-10-25 20:21:09 -040021};
22
Dan Sinclaire0345a42017-10-30 20:20:42 +000023#endif // FXJS_CJS_DISPLAY_H_