Index: tools/viewer/Viewer.h |
diff --git a/tools/viewer/Viewer.h b/tools/viewer/Viewer.h |
index 2e9650a846f470d2fb9238b0dc7d49bc79218e8a..033bd6969b9684a7c8d10ca474583876e0456b49 100644 |
--- a/tools/viewer/Viewer.h |
+++ b/tools/viewer/Viewer.h |
@@ -9,6 +9,7 @@ |
#define Viewer_DEFINED |
#include "sk_app/Application.h" |
+#include "sk_app/CommandSet.h" |
#include "sk_app/Window.h" |
#include "gm.h" |
#include "SkAnimTimer.h" |
@@ -21,8 +22,6 @@ public: |
Viewer(int argc, char** argv, void* platformData); |
~Viewer() override; |
- bool onKey(sk_app::Window::Key key, sk_app::Window::InputState state, uint32_t modifiers); |
- bool onChar(SkUnichar, uint32_t modifiers); |
void onPaint(SkCanvas* canvas); |
void onIdle(double ms) override; |
@@ -55,6 +54,7 @@ private: |
SkScalar fZoomLevel; |
SkScalar fZoomScale; |
+ sk_app::CommandSet fCommands; |
}; |