Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Unified Diff: fpdfsdk/src/javascript/color.h

Issue 1389783002: Make the vast majority of JS headers private to src/javascript. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: stray file. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: fpdfsdk/src/javascript/color.h
diff --git a/fpdfsdk/include/javascript/color.h b/fpdfsdk/src/javascript/color.h
similarity index 93%
rename from fpdfsdk/include/javascript/color.h
rename to fpdfsdk/src/javascript/color.h
index 322c4c26facdc6e7299a12021ed55e9a5ef42e88..9dec19174e0a8b30fb127c823f000ef60c5e9c9d 100644
--- a/fpdfsdk/include/javascript/color.h
+++ b/fpdfsdk/src/javascript/color.h
@@ -4,11 +4,11 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef FPDFSDK_INCLUDE_JAVASCRIPT_COLOR_H_
-#define FPDFSDK_INCLUDE_JAVASCRIPT_COLOR_H_
+#ifndef FPDFSDK_SRC_JAVASCRIPT_COLOR_H_
+#define FPDFSDK_SRC_JAVASCRIPT_COLOR_H_
+#include "../../include/pdfwindow/PWL_Wnd.h" // For CPWL_Color.
#include "JS_Define.h"
-// TODO(tsepez): include CPWL_Color.h once its own IWYU is fixed.
class color : public CJS_EmbedObj {
public:
@@ -82,4 +82,4 @@ class CJS_Color : public CJS_Object {
JS_STATIC_METHOD(equal, color);
};
-#endif // FPDFSDK_INCLUDE_JAVASCRIPT_COLOR_H_
+#endif // FPDFSDK_SRC_JAVASCRIPT_COLOR_H_

Powered by Google App Engine
This is Rietveld 408576698