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

Side by Side Diff: include/views/SkOSWindow_NaCl.h

Issue 1036283002: Remove all code related to NaCl (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase Created 5 years, 8 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 | « include/core/SkPreConfig.h ('k') | include/views/SkWindow.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright 2012 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 SkOSWindow_NaCl_DEFINED
9 #define SkOSWindow_NaCl_DEFINED
10
11 #include "SkWindow.h"
12
13 class SkOSWindow : public SkWindow {
14 public:
15 SkOSWindow(void*) {}
16 ~SkOSWindow() {}
17
18 enum SkBackEndTypes {
19 kNone_BackEndType,
20 kNativeGL_BackEndType,
21 };
22
23 bool attach(SkBackEndTypes /* attachType */, int /* msaaSampleCount */, Atta chmentInfo* info) {
24 info->fSampleCount = 0;
25 info->fStencilBits = 0;
26 return true;
27 }
28 void detach() {}
29 void present() {}
30
31 virtual void onPDFSaved(const char title[], const char desc[],
32 const char path[]);
33
34 protected:
35 // overrides from SkWindow
36 virtual void onHandleInval(const SkIRect&);
37 virtual void onSetTitle(const char title[]);
38
39 private:
40 typedef SkWindow INHERITED;
41 };
42
43 #endif
OLDNEW
« no previous file with comments | « include/core/SkPreConfig.h ('k') | include/views/SkWindow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698