| 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 "base/memory/weak_ptr.h" | 5 #include "base/memory/weak_ptr.h" |
| 6 #include "mojo/public/cpp/application/application_delegate.h" | 6 #include "mojo/public/cpp/application/application_delegate.h" |
| 7 #include "mojo/public/cpp/application/application_impl.h" | 7 #include "mojo/public/cpp/application/application_impl.h" |
| 8 #include "mojo/public/cpp/application/connect.h" | 8 #include "mojo/public/cpp/application/connect.h" |
| 9 #include "mojo/public/cpp/application/service_provider_impl.h" | 9 #include "mojo/public/cpp/application/service_provider_impl.h" |
| 10 #include "mojo/services/public/cpp/view_manager/view_manager.h" | 10 #include "mojo/services/public/cpp/view_manager/view_manager.h" |
| 11 #include "mojo/services/public/cpp/view_manager/view_manager_delegate.h" | 11 #include "mojo/services/public/cpp/view_manager/view_manager_delegate.h" |
| 12 #include "mojo/services/public/cpp/view_manager/view_observer.h" | 12 #include "mojo/services/public/cpp/view_manager/view_observer.h" |
| 13 #include "mojo/services/public/interfaces/input_events/input_events.mojom.h" | 13 #include "mojo/services/public/interfaces/input_events/input_events.mojom.h" |
| 14 #include "mojo/services/public/interfaces/navigation/navigation.mojom.h" | 14 #include "mojo/services/public/interfaces/navigation/navigation.mojom.h" |
| 15 #include "mojo/services/window_manager/window_manager_app.h" | 15 #include "mojo/services/window_manager/window_manager_app.h" |
| 16 #include "mojo/services/window_manager/window_manager_delegate.h" | 16 #include "mojo/services/window_manager/window_manager_delegate.h" |
| 17 #include "sky/tools/debugger/debugger.mojom.h" | 17 #include "sky/tools/debugger/debugger.mojom.h" |
| 18 #include "sky/tools/debugger/focus_rules.h" |
| 18 #include "sky/tools/debugger/navigator_host_impl.h" | 19 #include "sky/tools/debugger/navigator_host_impl.h" |
| 19 #include "sky/viewer/services/inspector.mojom.h" | 20 #include "sky/viewer/services/inspector.mojom.h" |
| 20 | 21 |
| 21 namespace sky { | 22 namespace sky { |
| 22 namespace debugger { | 23 namespace debugger { |
| 23 | 24 |
| 24 class SkyDebugger : public mojo::ApplicationDelegate, | 25 class SkyDebugger : public mojo::ApplicationDelegate, |
| 25 public mojo::ViewManagerDelegate, | 26 public mojo::ViewManagerDelegate, |
| 26 public mojo::ViewObserver, | 27 public mojo::ViewObserver, |
| 27 public mojo::InterfaceFactory<Debugger>, | 28 public mojo::InterfaceFactory<Debugger>, |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 | 72 |
| 72 NavigatorHostFactory navigator_host_factory_; | 73 NavigatorHostFactory navigator_host_factory_; |
| 73 | 74 |
| 74 base::WeakPtrFactory<SkyDebugger> weak_factory_; | 75 base::WeakPtrFactory<SkyDebugger> weak_factory_; |
| 75 | 76 |
| 76 DISALLOW_COPY_AND_ASSIGN(SkyDebugger); | 77 DISALLOW_COPY_AND_ASSIGN(SkyDebugger); |
| 77 }; | 78 }; |
| 78 | 79 |
| 79 } // namespace debugger | 80 } // namespace debugger |
| 80 } // namespace sky | 81 } // namespace sky |
| OLD | NEW |