Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Unified Diff: tools/VisualBench/VisualLightweightBenchModule.h

Issue 1336043003: Add viewer mode to VisualBench. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add clear method to VisualBench Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/VisualBench/VisualLightweightBenchModule.h
diff --git a/tools/VisualBench/VisualLightweightBenchModule.h b/tools/VisualBench/VisualLightweightBenchModule.h
index 64b4a11c0e0c1f5fa0b944940f60d1246b21d750..5d4869210b08d8d883946ffa3b6a399e967c4544 100644
--- a/tools/VisualBench/VisualLightweightBenchModule.h
+++ b/tools/VisualBench/VisualLightweightBenchModule.h
@@ -29,6 +29,8 @@ public:
void draw(SkCanvas* canvas) override;
+ bool onHandleChar(SkUnichar c) override;
+
private:
/*
* The heart of visual bench is an event driven timing loop.

Powered by Google App Engine
This is Rietveld 408576698