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

Unified Diff: ash/shell.cc

Issue 2887003003: Create DomAgent and CSSAgent in Chrome. (Closed)
Patch Set: address comments. Created 3 years, 6 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/shell.h ('k') | chrome/browser/ui/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 55ea0ce9d6a4eed4ad374932c280baa80cf67ffb..af3bebd3389dfff6ee8465db8cffb31e289dcd0e 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -130,9 +130,6 @@
#include "chromeos/system/devicemode.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/pref_service.h"
-#include "components/ui_devtools/devtools_server.h"
-#include "components/ui_devtools/views/ui_devtools_css_agent.h"
-#include "components/ui_devtools/views/ui_devtools_dom_agent.h"
#include "services/preferences/public/cpp/pref_service_factory.h"
#include "services/preferences/public/interfaces/preferences.mojom.h"
#include "services/service_manager/public/cpp/connector.h"
@@ -855,19 +852,6 @@ void Shell::Init(const ShellInitParams& init_params) {
wallpaper_controller_ = base::MakeUnique<WallpaperController>();
- // Start devtools server
- devtools_server_ = ui_devtools::UiDevToolsServer::Create(nullptr);
- if (devtools_server_) {
- auto dom_backend = base::MakeUnique<ui_devtools::UIDevToolsDOMAgent>();
- auto css_backend =
- 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));
- devtools_client->AddAgent(std::move(css_backend));
- devtools_server_->AttachClient(std::move(devtools_client));
- }
-
if (config == Config::MASH)
app_list_delegate_impl_ = base::MakeUnique<AppListDelegateImpl>();
« no previous file with comments | « ash/shell.h ('k') | chrome/browser/ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698