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