| 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 #ifndef SKY_ENGINE_PUBLIC_PLATFORM_SERVICES_H_ | 5 #ifndef SKY_ENGINE_PUBLIC_PLATFORM_SERVICES_H_ |
| 6 #define SKY_ENGINE_PUBLIC_PLATFORM_SERVICES_H_ | 6 #define SKY_ENGINE_PUBLIC_PLATFORM_SERVICES_H_ |
| 7 | 7 |
| 8 namespace mojo { | 8 namespace mojo { |
| 9 class NavigatorHost; | 9 class NavigatorHost; |
| 10 class Shell; |
| 10 } | 11 } |
| 11 | 12 |
| 12 namespace blink { | 13 namespace blink { |
| 13 | 14 |
| 14 class ServiceProvider { | 15 class ServiceProvider { |
| 15 public: | 16 public: |
| 16 virtual mojo::NavigatorHost* NavigatorHost() = 0; | 17 virtual mojo::NavigatorHost* NavigatorHost() = 0; |
| 18 virtual mojo::Shell* Shell() = 0; |
| 17 | 19 |
| 18 protected: | 20 protected: |
| 19 virtual ~ServiceProvider(); | 21 virtual ~ServiceProvider(); |
| 20 }; | 22 }; |
| 21 | 23 |
| 22 } // namespace blink | 24 } // namespace blink |
| 23 | 25 |
| 24 #endif | 26 #endif |
| OLD | NEW |