| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "ash/common/devtools/devtools_dom_agent.h" | 5 #include "ash/common/devtools/ash_devtools_dom_agent.h" |
| 6 | 6 |
| 7 #include "ash/common/wm_shell.h" | |
| 8 #include "ash/common/wm_window.h" | 7 #include "ash/common/wm_window.h" |
| 9 #include "components/ui_devtools/DOM.h" | |
| 10 #include "components/ui_devtools/devtools_server.h" | 8 #include "components/ui_devtools/devtools_server.h" |
| 11 #include "ui/views/view.h" | 9 #include "ui/views/view.h" |
| 12 #include "ui/views/widget/widget.h" | 10 #include "ui/views/widget/widget.h" |
| 13 | 11 |
| 14 namespace ash { | 12 namespace ash { |
| 15 namespace devtools { | 13 namespace devtools { |
| 16 | 14 |
| 17 namespace { | 15 namespace { |
| 18 using namespace ui::devtools::protocol; | 16 using namespace ui::devtools::protocol; |
| 19 | 17 |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 } | 99 } |
| 102 | 100 |
| 103 void AshDevToolsDOMAgent::getDocument( | 101 void AshDevToolsDOMAgent::getDocument( |
| 104 ui::devtools::protocol::ErrorString* error, | 102 ui::devtools::protocol::ErrorString* error, |
| 105 std::unique_ptr<ui::devtools::protocol::DOM::Node>* out_root) { | 103 std::unique_ptr<ui::devtools::protocol::DOM::Node>* out_root) { |
| 106 *out_root = BuildInitialTree(); | 104 *out_root = BuildInitialTree(); |
| 107 } | 105 } |
| 108 | 106 |
| 109 } // namespace devtools | 107 } // namespace devtools |
| 110 } // namespace ash | 108 } // namespace ash |
| OLD | NEW |