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

Side by Side Diff: sky/shell/ios/platform_view_ios.mm

Issue 1171573002: Basic Sky shell for iOS targets (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Service provider platform task runner refactor to be platform agnostic 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 unified diff | Download patch
« no previous file with comments | « sky/shell/ios/platform_view_ios.h ('k') | sky/shell/ios/sky_app_delegate.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 // 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
OLDNEW
« no previous file with comments | « sky/shell/ios/platform_view_ios.h ('k') | sky/shell/ios/sky_app_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698