OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef SKY_SHELL_PLATFORM_VIEW_IOS_H_ | 5 #ifndef SKY_SHELL_PLATFORM_VIEW_IOS_H_ |
6 #define SKY_SHELL_PLATFORM_VIEW_IOS_H_ | 6 #define SKY_SHELL_PLATFORM_VIEW_IOS_H_ |
7 | 7 |
8 #include "sky/shell/platform_view.h" | 8 #include "sky/shell/platform_view.h" |
9 | 9 |
10 namespace sky { | 10 namespace sky { |
11 namespace shell { | 11 namespace shell { |
12 | 12 |
13 class PlatformViewIOS : public PlatformView { | 13 class PlatformViewIOS : public PlatformView { |
14 public: | 14 public: |
| 15 explicit PlatformViewIOS(const Config& config); |
| 16 ~PlatformViewIOS() override; |
15 void SurfaceCreated(gfx::AcceleratedWidget widget); | 17 void SurfaceCreated(gfx::AcceleratedWidget widget); |
16 void SurfaceDestroyed(void); | 18 void SurfaceDestroyed(void); |
17 | 19 |
18 private: | 20 private: |
19 DISALLOW_COPY_AND_ASSIGN(PlatformViewIOS); | 21 DISALLOW_COPY_AND_ASSIGN(PlatformViewIOS); |
20 }; | 22 }; |
21 | 23 |
22 } // namespace shell | 24 } // namespace shell |
23 } // namespace sky | 25 } // namespace sky |
24 | 26 |
25 #endif // SKY_SHELL_PLATFORM_VIEW_IOS_H_ | 27 #endif // SKY_SHELL_PLATFORM_VIEW_IOS_H_ |
OLD | NEW |