36352bf5e3
NOPRESUBMIT=true BUG=skia: DOCS_PREVIEW= https://skia.org/?cl=1037793002 Review URL: https://codereview.chromium.org/1037793002
33 lines
627 B
C++
33 lines
627 B
C++
/*
|
|
* 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 {
|
|
public:
|
|
ShellWindow(void* hwnd, int argc, char** argv);
|
|
virtual ~ShellWindow();
|
|
|
|
protected:
|
|
void onSizeChange() override;
|
|
|
|
virtual bool onDispatchClick(int x, int y, Click::State, void* owner,
|
|
unsigned modi) override;
|
|
|
|
private:
|
|
typedef SkOSWindow INHERITED;
|
|
};
|
|
|
|
#endif
|