OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2013 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 #ifndef MOJO_SERVICES_NATIVE_VIEWPORT_NATIVE_VIEWPORT_H_ | |
6 #define MOJO_SERVICES_NATIVE_VIEWPORT_NATIVE_VIEWPORT_H_ | |
7 | |
8 namespace mojo { | |
9 namespace services { | |
10 | |
11 class NativeViewportDelegate; | |
abarth-chromium
2013/10/29 21:48:44
You don't want to make this an inner class?
| |
12 | |
13 // Encapsulation of platform-specific Viewport. | |
14 class NativeViewport { | |
15 public: | |
16 virtual ~NativeViewport() {} | |
17 | |
18 static NativeViewport* CreateNativeViewport( | |
19 NativeViewportDelegate* delegate); | |
abarth-chromium
2013/10/29 21:48:44
Sould this return a scoped_ptr<NativeViewport> to
| |
20 }; | |
21 | |
22 } // namespace services | |
23 } // namespace mojo | |
24 | |
25 #endif // MOJO_SERVICES_NATIVE_VIEWPORT_NATIVE_VIEWPORT_H_ | |
OLD | NEW |