Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Side by Side Diff: ash/common/devtools/ash_devtools_dom_agent.cc

Issue 2462843002: Update ash to use new devtools base agent (Closed)
Patch Set: Rename devtools_dom_agent.* to ash_devtools_dom_agent.* Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/common/devtools/ash_devtools_dom_agent.h ('k') | ash/common/devtools/devtools_dom_agent.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « ash/common/devtools/ash_devtools_dom_agent.h ('k') | ash/common/devtools/devtools_dom_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698