OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "services/native_viewport/platform_viewport_headless.h" | 5 #include "services/native_viewport/platform_viewport_headless.h" |
6 | 6 |
7 namespace mojo { | 7 namespace mojo { |
8 | 8 |
9 // static | 9 // static |
10 scoped_ptr<PlatformViewport> PlatformViewport::Create( | 10 scoped_ptr<PlatformViewport> PlatformViewport::Create(mojo::Shell* shell, |
11 mojo::ApplicationImpl* application_, | 11 Delegate* delegate) { |
12 Delegate* delegate) { | |
13 return PlatformViewportHeadless::Create(delegate); | 12 return PlatformViewportHeadless::Create(delegate); |
14 } | 13 } |
15 | 14 |
16 } // namespace mojo | 15 } // namespace mojo |
OLD | NEW |