aboutsummaryrefslogtreecommitdiff
path: root/samplecode/OverView.cpp
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-09-18 01:52:20 +0000
committertfarina@chromium.org <tfarina@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-09-18 01:52:20 +0000
commitb1b7f707907b8c63b955cd2aef1cc454623e3656 (patch)
tree639827ef5265f501acc41491a43849929eef6219 /samplecode/OverView.cpp
parent13fd5a15a170c0d024f4907991d8a57d8adf755e (diff)
Add a header for OverView.cpp as well.
This fixes another FIXMEs. Signed-off-by: Thiago Farina <tfarina@chromium.org> Review URL: https://codereview.appspot.com/6492125 git-svn-id: http://skia.googlecode.com/svn/trunk@5576 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'samplecode/OverView.cpp')
-rw-r--r--samplecode/OverView.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/samplecode/OverView.cpp b/samplecode/OverView.cpp
index 9858608241..f170bdbcad 100644
--- a/samplecode/OverView.cpp
+++ b/samplecode/OverView.cpp
@@ -5,6 +5,8 @@
* found in the LICENSE file.
*/
+#include "OverView.h"
+
#include "SampleCode.h"
#include "SkCanvas.h"
@@ -69,14 +71,10 @@ private:
typedef SkView INHERITED;
};
-// FIXME: this should be in a header
-SkView* create_overview(int count, const SkViewFactory* factories[]);
SkView* create_overview(int count, const SkViewFactory* factories[]) {
return SkNEW_ARGS(OverView, (count, factories));
}
-// FIXME: this should be in a header
-bool is_overview(SkView* view);
bool is_overview(SkView* view) {
SkEvent isOverview(gIsOverview);
return view->doQuery(&isOverview);