blob: 3c70543ac0ad824d1f9429970d8584888f3c2a69 [file] [log] [blame]
dan sinclair993a1992017-10-25 20:21:09 -04001// Copyright 2017 PDFium Authors. All rights reserved.
2// 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
7#include "fpdfsdk/javascript/cjs_highlight.h"
8
9JSConstSpec CJS_Highlight::ConstSpecs[] = {
10 {"n", JSConstSpec::String, 0, "none"},
11 {"i", JSConstSpec::String, 0, "invert"},
12 {"p", JSConstSpec::String, 0, "push"},
13 {"o", JSConstSpec::String, 0, "outline"},
14 {0, JSConstSpec::Number, 0, 0}};
15
16IMPLEMENT_JS_CLASS_CONST(CJS_Highlight, highlight)