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

Unified Diff: ash/shell.cc

Issue 2852733002: Duplicate -Move DevTools out of ash and turn it to a component. (Closed)
Patch Set: move unittest to ui/views Created 3 years, 7 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/devtools/window_element.cc ('k') | components/ui_devtools/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 11b3861a31b7cc78069445d521bb5500c53273bc..42401818caba0d4a1936d680af66382d25ebb6fb 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -19,8 +19,6 @@
#include "ash/aura/shell_port_classic.h"
#include "ash/autoclick/autoclick_controller.h"
#include "ash/cast_config_controller.h"
-#include "ash/devtools/ash_devtools_css_agent.h"
-#include "ash/devtools/ash_devtools_dom_agent.h"
#include "ash/display/cursor_window_controller.h"
#include "ash/display/display_color_manager_chromeos.h"
#include "ash/display/display_configuration_controller.h"
@@ -130,6 +128,8 @@
#include "chromeos/system/devicemode.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/pref_service.h"
+#include "components/ui_devtools/devtools/ui_devtools_css_agent.h"
+#include "components/ui_devtools/devtools/ui_devtools_dom_agent.h"
#include "components/ui_devtools/devtools_server.h"
#include "services/preferences/public/cpp/pref_service_factory.h"
#include "services/preferences/public/interfaces/preferences.mojom.h"
@@ -803,9 +803,9 @@ void Shell::Init(const ShellInitParams& init_params) {
// Start devtools server
devtools_server_ = ui::devtools::UiDevToolsServer::Create(nullptr);
if (devtools_server_) {
- auto dom_backend = base::MakeUnique<devtools::AshDevToolsDOMAgent>();
+ auto dom_backend = base::MakeUnique<ui::devtools::UIDevToolsDOMAgent>();
auto css_backend =
- base::MakeUnique<devtools::AshDevToolsCSSAgent>(dom_backend.get());
+ base::MakeUnique<ui::devtools::UIDevToolsCSSAgent>(dom_backend.get());
auto devtools_client = base::MakeUnique<ui::devtools::UiDevToolsClient>(
"Ash", devtools_server_.get());
devtools_client->AddAgent(std::move(dom_backend));
« no previous file with comments | « ash/devtools/window_element.cc ('k') | components/ui_devtools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698