Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "platform_view_ios.h" | |
| 6 | |
| 7 namespace sky { | |
| 8 namespace shell { | |
| 9 | |
| 10 void PlatformViewIOS::SurfaceCreated(gfx::AcceleratedWidget widget) { | |
| 11 DCHECK(window_ == 0); | |
| 12 window_ = widget; | |
| 13 SurfaceWasCreated(); | |
| 14 } | |
| 15 | |
| 16 void PlatformViewIOS::SurfaceDestroyed() { | |
| 17 DCHECK(window_); | |
| 18 window_ = 0; | |
| 19 SurfaceWasDestroyed(); | |
| 20 } | |
| 21 | |
| 22 } // namespace shell | |
| 23 } // namespace sky | |
| OLD | NEW |