3 * Copyright 2006 The Android Open Source Project
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
10 #ifndef SkDump_DEFINED
11 #define SkDump_DEFINED
13 #include "SkDisplayable.h"
14 #include "SkMemberInfo.h"
19 class SkDump : public SkDisplayable {
20 DECLARE_MEMBER_INFO(Dump);
21 #ifdef SK_DUMP_ENABLED
23 bool enable(SkAnimateMaker & ) override;
24 bool evaluate(SkAnimateMaker &);
25 bool hasEnable() const override;
26 static void GetEnumString(SkDisplayTypes , int index, SkString* result);
35 virtual bool enable(SkAnimateMaker & );
36 virtual bool hasEnable() const;
37 virtual bool setProperty(int index, SkScriptValue& );
42 #endif // SkDump_DEFINED