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

Unified Diff: sky/shell/ios/platform_view_ios.h

Issue 1171573002: Basic Sky shell for iOS targets (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: sky/shell/ios/platform_view_ios.h
diff --git a/sky/shell/ios/platform_view_ios.h b/sky/shell/ios/platform_view_ios.h
new file mode 100644
index 0000000000000000000000000000000000000000..19e0e1822c070e28b5b54f0f5c3f6bf4eeaa5b9f
--- /dev/null
+++ b/sky/shell/ios/platform_view_ios.h
@@ -0,0 +1,25 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef SKY_SHELL_PLATFORM_VIEW_IOS_H_
+#define SKY_SHELL_PLATFORM_VIEW_IOS_H_
+
+#include "sky/shell/platform_view.h"
+
+namespace sky {
+namespace shell {
+
+class PlatformViewIOS : public PlatformView {
+ public:
+ void SurfaceCreated(gfx::AcceleratedWidget widget);
+ void SurfaceDestroyed(void);
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(PlatformViewIOS);
+};
+
+} // namespace shell
+} // namespace sky
+
+#endif // SKY_SHELL_PLATFORM_VIEW_IOS_H_

Powered by Google App Engine
This is Rietveld 408576698