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

Unified Diff: components/ui_devtools/devtools/ui_devtools_css_agent.h

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 | « components/ui_devtools/devtools/OWNERS ('k') | components/ui_devtools/devtools/ui_devtools_css_agent.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ui_devtools/devtools/ui_devtools_css_agent.h
diff --git a/ash/devtools/ash_devtools_css_agent.h b/components/ui_devtools/devtools/ui_devtools_css_agent.h
similarity index 71%
rename from ash/devtools/ash_devtools_css_agent.h
rename to components/ui_devtools/devtools/ui_devtools_css_agent.h
index 9225475f65636cb691b66a7624c5736a1585cceb..e64817747c6e0412a54f99d305be968a9bfa98e6 100644
--- a/ash/devtools/ash_devtools_css_agent.h
+++ b/components/ui_devtools/devtools/ui_devtools_css_agent.h
@@ -2,24 +2,23 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef ASH_DEVTOOLS_ASH_DEVTOOLS_CSS_AGENT_H_
-#define ASH_DEVTOOLS_ASH_DEVTOOLS_CSS_AGENT_H_
+#ifndef COMPONENTS_UI_DEVTOOLS_DEVTOOLS_UI_DEVTOOLS_CSS_AGENT_H_
+#define COMPONENTS_UI_DEVTOOLS_DEVTOOLS_UI_DEVTOOLS_CSS_AGENT_H_
-#include "ash/ash_export.h"
-#include "ash/devtools/ash_devtools_dom_agent.h"
#include "base/macros.h"
#include "components/ui_devtools/CSS.h"
+#include "components/ui_devtools/devtools/ui_devtools_dom_agent.h"
-namespace ash {
+namespace ui {
namespace devtools {
-class ASH_EXPORT AshDevToolsCSSAgent
+class UIDevToolsCSSAgent
: public NON_EXPORTED_BASE(ui::devtools::UiDevToolsBaseAgent<
ui::devtools::protocol::CSS::Metainfo>),
- public AshDevToolsDOMAgentObserver {
+ public UIDevToolsDOMAgentObserver {
public:
- explicit AshDevToolsCSSAgent(AshDevToolsDOMAgent* dom_agent);
- ~AshDevToolsCSSAgent() override;
+ explicit UIDevToolsCSSAgent(UIDevToolsDOMAgent* dom_agent);
+ ~UIDevToolsCSSAgent() override;
// CSS::Backend:
ui::devtools::protocol::Response enable() override;
@@ -35,7 +34,7 @@ class ASH_EXPORT AshDevToolsCSSAgent
ui::devtools::protocol::Array<ui::devtools::protocol::CSS::CSSStyle>>*
result) override;
- // AshDevToolsDOMAgentObserver:
+ // UIDevToolsDOMAgentObserver:
void OnNodeBoundsChanged(int node_id) override;
private:
@@ -46,12 +45,12 @@ class ASH_EXPORT AshDevToolsCSSAgent
bool SetPropertiesForNodeId(int node_id,
const gfx::Rect& bounds,
bool visible);
- AshDevToolsDOMAgent* dom_agent_;
+ UIDevToolsDOMAgent* dom_agent_;
- DISALLOW_COPY_AND_ASSIGN(AshDevToolsCSSAgent);
+ DISALLOW_COPY_AND_ASSIGN(UIDevToolsCSSAgent);
};
} // namespace devtools
-} // namespace ash
+} // namespace ui
-#endif // ASH_DEVTOOLS_ASH_DEVTOOLS_CSS_AGENT_H_
+#endif // COMPONENTS_UI_DEVTOOLS_DEVTOOLS_UI_DEVTOOLS_CSS_AGENT_H_
« no previous file with comments | « components/ui_devtools/devtools/OWNERS ('k') | components/ui_devtools/devtools/ui_devtools_css_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698