| Index: include/core/SkPathEffect.h
|
| diff --git a/include/core/SkPathEffect.h b/include/core/SkPathEffect.h
|
| index c4d41839811da787f77bcab3ba8466f74681685d..7e2d1ae6a4ed23d3210dd0f7b5494e8e82f0f277 100644
|
| --- a/include/core/SkPathEffect.h
|
| +++ b/include/core/SkPathEffect.h
|
| @@ -134,6 +134,11 @@ public:
|
| SK_TO_STRING_PUREVIRT()
|
| SK_DEFINE_FLATTENABLE_TYPE(SkPathEffect)
|
|
|
| +#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
|
| + /// Override for subclasses as appropriate.
|
| + virtual bool exposedInAndroidJavaAPI() const { return false; }
|
| +#endif
|
| +
|
| protected:
|
| SkPathEffect() {}
|
|
|
| @@ -191,6 +196,10 @@ public:
|
| SK_TO_STRING_OVERRIDE()
|
| SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkComposePathEffect)
|
|
|
| +#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
|
| + bool exposedInAndroidJavaAPI() const SK_OVERRIDE { return true; }
|
| +#endif
|
| +
|
| protected:
|
| SkComposePathEffect(SkPathEffect* outer, SkPathEffect* inner) : INHERITED(outer, inner) {}
|
|
|
| @@ -224,6 +233,10 @@ public:
|
| SK_TO_STRING_OVERRIDE()
|
| SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkSumPathEffect)
|
|
|
| +#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
|
| + bool exposedInAndroidJavaAPI() const SK_OVERRIDE { return true; }
|
| +#endif
|
| +
|
| protected:
|
| SkSumPathEffect(SkPathEffect* first, SkPathEffect* second) : INHERITED(first, second) {}
|
|
|
|
|