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

Unified Diff: components/ui_devtools/devtools/ui_element.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
Index: components/ui_devtools/devtools/ui_element.h
diff --git a/ash/devtools/ui_element.h b/components/ui_devtools/devtools/ui_element.h
similarity index 90%
rename from ash/devtools/ui_element.h
rename to components/ui_devtools/devtools/ui_element.h
index 00b5ebdf088efee85195d6b96699c296825c5219..0643a1f19acf4143e73ffcfc9c908048196658fc 100644
--- a/ash/devtools/ui_element.h
+++ b/components/ui_devtools/devtools/ui_element.h
@@ -2,18 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef ASH_DEVTOOLS_UI_ELEMENT_H_
-#define ASH_DEVTOOLS_UI_ELEMENT_H_
+#ifndef COMPONENTS_UI_DEVTOOLS_DEVTOOLS_UI_ELEMENT_H_
+#define COMPONENTS_UI_DEVTOOLS_DEVTOOLS_UI_ELEMENT_H_
#include <vector>
-#include "ash/ash_export.h"
#include "base/macros.h"
#include "ui/aura/window.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/views/view.h"
-namespace ash {
+namespace ui {
namespace devtools {
class UIElementDelegate;
@@ -21,7 +20,7 @@ class UIElementDelegate;
// UIElement type.
enum UIElementType { WINDOW, WIDGET, VIEW };
-class ASH_EXPORT UIElement {
+class UIElement {
public:
int node_id() const { return node_id_; };
std::string GetTypeName() const;
@@ -73,6 +72,6 @@ class ASH_EXPORT UIElement {
};
} // namespace devtools
-} // namespace ash
+} // namespace ui
-#endif // ASH_DEVTOOLS_UI_ELEMENT_H_
+#endif // COMPONENTS_UI_DEVTOOLS_DEVTOOLS_UI_ELEMENT_H_
« no previous file with comments | « components/ui_devtools/devtools/ui_devtools_unittest.cc ('k') | components/ui_devtools/devtools/ui_element.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698