| OLD | NEW |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 | 6 |
| 7 #ifndef _COLOR_H_ | 7 #ifndef FPDFSDK_INCLUDE_JAVASCRIPT_COLOR_H_ |
| 8 #define _COLOR_H_ | 8 #define FPDFSDK_INCLUDE_JAVASCRIPT_COLOR_H_ |
| 9 | 9 |
| 10 #include "JS_Define.h" | 10 #include "JS_Define.h" |
| 11 // TODO(tsepez): include CPWL_Color.h once its own IWYU is fixed. | 11 // TODO(tsepez): include CPWL_Color.h once its own IWYU is fixed. |
| 12 | 12 |
| 13 class color : public CJS_EmbedObj | 13 class color : public CJS_EmbedObj |
| 14 { | 14 { |
| 15 public: | 15 public: |
| 16 color(CJS_Object* pJSObject); | 16 color(CJS_Object* pJSObject); |
| 17 virtual ~color(void); | 17 virtual ~color(void); |
| 18 | 18 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 JS_STATIC_PROP(red, color); | 70 JS_STATIC_PROP(red, color); |
| 71 JS_STATIC_PROP(transparent, color); | 71 JS_STATIC_PROP(transparent, color); |
| 72 JS_STATIC_PROP(white, color); | 72 JS_STATIC_PROP(white, color); |
| 73 JS_STATIC_PROP(yellow, color); | 73 JS_STATIC_PROP(yellow, color); |
| 74 | 74 |
| 75 JS_STATIC_METHOD(convert,color); | 75 JS_STATIC_METHOD(convert,color); |
| 76 JS_STATIC_METHOD(equal,color); | 76 JS_STATIC_METHOD(equal,color); |
| 77 | 77 |
| 78 }; | 78 }; |
| 79 | 79 |
| 80 #endif //_COLOR_H_ | 80 #endif // FPDFSDK_INCLUDE_JAVASCRIPT_COLOR_H_ |
| 81 | |
| OLD | NEW |