blob: 7473e0187c6bc5c5b42e6fa4a9b7d0864cf7e770 [file] [log] [blame]
* Copyright 2014 Skia
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
#ifndef iOSShell_DEFINED
#define iOSShell_DEFINED
#include "SkWindow.h"
class SkCanvas;
class SkEvent;
class SkViewFactory;
class ShellWindow : public SkOSWindow {
ShellWindow(void* hwnd, int argc, char** argv);
virtual ~ShellWindow();
virtual SkCanvas* createCanvas() SK_OVERRIDE {
SkCanvas* canvas = this->INHERITED::createCanvas();
return canvas;
virtual void onSizeChange() SK_OVERRIDE;
virtual bool onDispatchClick(int x, int y, Click::State, void* owner,
unsigned modi) SK_OVERRIDE;
typedef SkOSWindow INHERITED;