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

Side by Side Diff: tools/viewer/Window.h

Issue 1945103003: Rename VulkanViewer to Viewer, take 2. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix android path Created 4 years, 7 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
« no previous file with comments | « tools/viewer/VulkanTestContext.cpp ('k') | tools/viewer/Window.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2016 Google Inc. 2 * Copyright 2016 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef Window_DEFINED 8 #ifndef Window_DEFINED
9 #define Window_DEFINED 9 #define Window_DEFINED
10 10
11 #include "SkTypes.h" 11 #include "SkTypes.h"
12 #include "SkRect.h" 12 #include "SkRect.h"
13 13
14 class SkCanvas; 14 class SkCanvas;
15 class VulkanTestContext; 15 class VulkanTestContext;
16 16
17 namespace sk_app {
18
17 class Window { 19 class Window {
18 public: 20 public:
19 static Window* CreateNativeWindow(void* platformData); 21 static Window* CreateNativeWindow(void* platformData);
20 22
21 virtual ~Window() {}; 23 virtual ~Window() {};
22 24
23 virtual void setTitle(const char*) = 0; 25 virtual void setTitle(const char*) = 0;
24 virtual void show() = 0; 26 virtual void show() = 0;
25 virtual void inval() = 0; 27 virtual void inval() = 0;
26 28
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 OnKeyFunc fKeyFunc; 139 OnKeyFunc fKeyFunc;
138 void* fKeyUserData; 140 void* fKeyUserData;
139 OnMouseFunc fMouseFunc; 141 OnMouseFunc fMouseFunc;
140 void* fMouseUserData; 142 void* fMouseUserData;
141 OnPaintFunc fPaintFunc; 143 OnPaintFunc fPaintFunc;
142 void* fPaintUserData; 144 void* fPaintUserData;
143 145
144 VulkanTestContext* fTestContext; 146 VulkanTestContext* fTestContext;
145 }; 147 };
146 148
147 149 } // namespace sk_app
148 #endif 150 #endif
OLDNEW
« no previous file with comments | « tools/viewer/VulkanTestContext.cpp ('k') | tools/viewer/Window.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698