Chromium Code Reviews| Index: fpdfsdk/javascript/Annot.h |
| diff --git a/fpdfsdk/javascript/Annot.h b/fpdfsdk/javascript/Annot.h |
| index b3ea292aed86e3a30e6912058477e3bed590b31c..0043be3584a9990841e7ec3734498901249219c2 100644 |
| --- a/fpdfsdk/javascript/Annot.h |
| +++ b/fpdfsdk/javascript/Annot.h |
| @@ -7,6 +7,8 @@ |
| #ifndef FPDFSDK_JAVASCRIPT_ANNOT_H_ |
| #define FPDFSDK_JAVASCRIPT_ANNOT_H_ |
| +#include <memory> |
| + |
| #include "fpdfsdk/include/cpdfsdk_baannot.h" |
| #include "fpdfsdk/javascript/JS_Define.h" |
| @@ -23,6 +25,7 @@ class Annot : public CJS_EmbedObj { |
| private: |
| CPDFSDK_BAAnnot* m_BAAnnot = nullptr; |
| + std::unique_ptr<CPDFSDK_BAAnnot::Observer> m_pObserver; |
|
Tom Sepez
2016/09/01 18:03:30
This can't be a widget observer?
dsinclair
2016/09/01 18:11:58
CPDFSDK_BAAnnot is the parent class of CDPFSDK_Wid
Tom Sepez
2016/09/01 18:12:06
I mean, this can't be an CPDFSDK_Annot::Observer ?
|
| }; |
| class CJS_Annot : public CJS_Object { |