Chromium Code Reviews| Index: include/core/SkXfermode.h |
| diff --git a/include/core/SkXfermode.h b/include/core/SkXfermode.h |
| index 91268ab5f127a5ec37cf8102b4c8dafe27706839..748c271aeb3c4e38a6d48981daa1c2665acfdc6d 100644 |
| --- a/include/core/SkXfermode.h |
| +++ b/include/core/SkXfermode.h |
| @@ -12,6 +12,7 @@ |
| #include "SkFlattenable.h" |
| #include "SkColor.h" |
| +#include "SkString.h" |
| class GrFragmentProcessor; |
| class GrTexture; |
| @@ -241,6 +242,12 @@ protected: |
| */ |
| virtual SkPMColor xferColor(SkPMColor src, SkPMColor dst) const; |
| + /** |
| + * luaGetName should only be used for lua-based .skp scraping. |
| + */ |
| + friend class SkLuaAccess; |
| + virtual void luaGetName(SkString* name) const { name->set("Unknown"); } |
|
reed1
2016/01/21 14:39:11
can this be private?
|
| + |
| private: |
| enum { |
| kModeCount = kLastMode + 1 |