| 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_V8_INSPECTOR_INSPECTOR_HOST_H_ | 5 #ifndef SKY_ENGINE_V8_INSPECTOR_INSPECTOR_HOST_H_ |
| 6 #define SKY_ENGINE_V8_INSPECTOR_INSPECTOR_HOST_H_ | 6 #define SKY_ENGINE_V8_INSPECTOR_INSPECTOR_HOST_H_ |
| 7 | 7 |
| 8 namespace mojo { | 8 namespace mojo { |
| 9 class Shell; | 9 class Shell; |
| 10 } | 10 } |
| 11 namespace v8 { | 11 namespace v8 { |
| 12 class Isolate; | 12 class Isolate; |
| 13 class Context; | 13 class Context; |
| 14 template <class T> | 14 template <class T> |
| 15 class Local; | 15 class Local; |
| 16 } | 16 } |
| 17 | 17 |
| 18 namespace inspector { | 18 namespace inspector { |
| 19 | 19 |
| 20 class InspectorHost { | 20 class InspectorHost { |
| 21 public: | 21 public: |
| 22 virtual mojo::Shell* GetShell() = 0; | 22 virtual mojo::Shell* GetShell() = 0; |
| 23 virtual v8::Isolate* GetIsolate() = 0; | 23 virtual v8::Isolate* GetIsolate() = 0; |
| 24 virtual v8::Local<v8::Context> GetContext() = 0; | 24 virtual v8::Local<v8::Context> GetContext() = 0; |
| 25 }; | 25 }; |
| 26 | 26 |
| 27 } // namespace inspector | 27 } // namespace inspector |
| 28 | 28 |
| 29 #endif // SKY_ENGINE_V8_INSPECTOR_INSPECTOR_HOST_H_ | 29 #endif // SKY_ENGINE_V8_INSPECTOR_INSPECTOR_HOST_H_ |
| OLD | NEW |