aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/views
diff options
context:
space:
mode:
authorGravatar borenet <borenet@google.com>2015-04-02 12:16:36 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-04-02 12:16:36 -0700
commit4808757d7a8bbe8c773a312a894738e9ff701b5f (patch)
tree62eb6866702dbd1df89964c7659e39bda2bfdea3 /include/views
parent07342361a3cda94376230b37d9e863052449653c (diff)
Remove all code related to NaCl
Diffstat (limited to 'include/views')
-rw-r--r--include/views/SkOSWindow_NaCl.h43
-rw-r--r--include/views/SkWindow.h4
2 files changed, 1 insertions, 46 deletions
diff --git a/include/views/SkOSWindow_NaCl.h b/include/views/SkOSWindow_NaCl.h
deleted file mode 100644
index 26263371d9..0000000000
--- a/include/views/SkOSWindow_NaCl.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright 2012 Skia
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#ifndef SkOSWindow_NaCl_DEFINED
-#define SkOSWindow_NaCl_DEFINED
-
-#include "SkWindow.h"
-
-class SkOSWindow : public SkWindow {
-public:
- SkOSWindow(void*) {}
- ~SkOSWindow() {}
-
- enum SkBackEndTypes {
- kNone_BackEndType,
- kNativeGL_BackEndType,
- };
-
- bool attach(SkBackEndTypes /* attachType */, int /* msaaSampleCount */, AttachmentInfo* info) {
- info->fSampleCount = 0;
- info->fStencilBits = 0;
- return true;
- }
- void detach() {}
- void present() {}
-
- virtual void onPDFSaved(const char title[], const char desc[],
- const char path[]);
-
-protected:
- // overrides from SkWindow
- virtual void onHandleInval(const SkIRect&);
- virtual void onSetTitle(const char title[]);
-
-private:
- typedef SkWindow INHERITED;
-};
-
-#endif
diff --git a/include/views/SkWindow.h b/include/views/SkWindow.h
index 76a1aa5947..748e6da967 100644
--- a/include/views/SkWindow.h
+++ b/include/views/SkWindow.h
@@ -122,9 +122,7 @@ private:
////////////////////////////////////////////////////////////////////////////////
-#if defined(SK_BUILD_FOR_NACL)
- #include "SkOSWindow_NaCl.h"
-#elif defined(SK_BUILD_FOR_MAC)
+#if defined(SK_BUILD_FOR_MAC)
#include "SkOSWindow_Mac.h"
#elif defined(SK_BUILD_FOR_WIN)
#include "SkOSWindow_Win.h"