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

Side by Side Diff: tools/iOSShell.h

Issue 373383003: ios fixes (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: give shell its own gyp file Created 6 years, 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 /*
2 * Copyright 2014 Skia
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8 #ifndef iOSShell_DEFINED
9 #define iOSShell_DEFINED
10
11 #include "SkWindow.h"
12
13 class SkCanvas;
14 class SkEvent;
15 class SkViewFactory;
16
17 class ShellWindow : public SkOSWindow {
18 public:
19 ShellWindow(void* hwnd, int argc, char** argv);
20 virtual ~ShellWindow();
21
22 virtual SkCanvas* createCanvas() SK_OVERRIDE {
23 SkCanvas* canvas = this->INHERITED::createCanvas();
24 return canvas;
25 }
26
27 protected:
28 virtual void onSizeChange() SK_OVERRIDE;
29
30 virtual bool onDispatchClick(int x, int y, Click::State, void* owner,
31 unsigned modi) SK_OVERRIDE;
32
33 private:
34 typedef SkOSWindow INHERITED;
35 };
36
37 #endif
OLDNEW
« tools/Resources.h ('K') | « tools/flags/SkCommandLineFlags.h ('k') | tools/iOSShell.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698