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

Unified Diff: components/ui_devtools/views/ui_element.h

Issue 2899783002: Move DevTools out of ash and turn it to a component. (Closed)
Patch Set: add README.md 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 | « components/ui_devtools/views/ui_devtools_unittest.cc ('k') | components/ui_devtools/views/ui_element.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ui_devtools/views/ui_element.h
diff --git a/ash/devtools/ui_element.h b/components/ui_devtools/views/ui_element.h
similarity index 89%
rename from ash/devtools/ui_element.h
rename to components/ui_devtools/views/ui_element.h
index 8c752f16df6cc82c4456d33815dfa23e68f20978..dcd614a02fb343174bf487a10bf91ad5ded20f76 100644
--- a/ash/devtools/ui_element.h
+++ b/components/ui_devtools/views/ui_element.h
@@ -2,26 +2,24 @@
// 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_VIEWS_UI_ELEMENT_H_
+#define COMPONENTS_UI_DEVTOOLS_VIEWS_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 devtools {
+namespace ui_devtools {
class UIElementDelegate;
// UIElement type.
enum UIElementType { WINDOW, WIDGET, VIEW };
-class ASH_EXPORT UIElement {
+class UIElement {
public:
virtual ~UIElement();
int node_id() const { return node_id_; };
@@ -72,7 +70,6 @@ class ASH_EXPORT UIElement {
DISALLOW_COPY_AND_ASSIGN(UIElement);
};
-} // namespace devtools
-} // namespace ash
+} // namespace ui_devtools
-#endif // ASH_DEVTOOLS_UI_ELEMENT_H_
+#endif // COMPONENTS_UI_DEVTOOLS_VIEWS_UI_ELEMENT_H_
« no previous file with comments | « components/ui_devtools/views/ui_devtools_unittest.cc ('k') | components/ui_devtools/views/ui_element.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698