Index: tools/viewer/sk_app/Window.cpp |
diff --git a/tools/viewer/sk_app/Window.cpp b/tools/viewer/sk_app/Window.cpp |
index a02e993d21ca6f98a3500190ff5db28a655e6782..b78f39aa3707e5a7b47a79b5d63fdf27505728d9 100644 |
--- a/tools/viewer/sk_app/Window.cpp |
+++ b/tools/viewer/sk_app/Window.cpp |
@@ -32,16 +32,12 @@ |
return false; |
} |
-static void default_ui_state_changed_func( |
- const SkString& stateName, const SkString& stateValue, void* userData) {} |
- |
static void default_paint_func(SkCanvas*, void* userData) {} |
Window::Window() : fCharFunc(default_char_func) |
, fKeyFunc(default_key_func) |
, fMouseFunc(default_mouse_func) |
, fTouchFunc(default_touch_func) |
- , fUIStateChangedFunc(default_ui_state_changed_func) |
, fPaintFunc(default_paint_func) { |
} |
@@ -64,10 +60,6 @@ |
bool Window::onTouch(int owner, InputState state, float x, float y) { |
return fTouchFunc(owner, state, x, y, fTouchUserData); |
-} |
- |
-void Window::onUIStateChanged(const SkString& stateName, const SkString& stateValue) { |
- return fUIStateChangedFunc(stateName, stateValue, fUIStateChangedUserData); |
} |
void Window::onPaint() { |