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

Unified Diff: components/ui_devtools/views/view_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_element_delegate.h ('k') | components/ui_devtools/views/view_element.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ui_devtools/views/view_element.h
diff --git a/ash/devtools/view_element.h b/components/ui_devtools/views/view_element.h
similarity index 78%
rename from ash/devtools/view_element.h
rename to components/ui_devtools/views/view_element.h
index a5f0a387748359d47ebb73a6854218e7ed414821..37e46cc81c41464bb256406079a40b8146acafc5 100644
--- a/ash/devtools/view_element.h
+++ b/components/ui_devtools/views/view_element.h
@@ -2,23 +2,21 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef ASH_DEVTOOLS_VIEW_ELEMENT_H_
-#define ASH_DEVTOOLS_VIEW_ELEMENT_H_
+#ifndef COMPONENTS_UI_DEVTOOLS_VIEWS_VIEW_ELEMENT_H_
+#define COMPONENTS_UI_DEVTOOLS_VIEWS_VIEW_ELEMENT_H_
-#include "ash/ash_export.h"
-#include "ash/devtools/ui_element.h"
#include "base/macros.h"
+#include "components/ui_devtools/views/ui_element.h"
#include "ui/aura/window.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/views/view.h"
#include "ui/views/view_observer.h"
-namespace ash {
-namespace devtools {
+namespace ui_devtools {
class UIElementDelegate;
-class ASH_EXPORT ViewElement : public views::ViewObserver, public UIElement {
+class ViewElement : public views::ViewObserver, public UIElement {
public:
ViewElement(views::View* view,
UIElementDelegate* ui_element_delegate,
@@ -46,7 +44,6 @@ class ASH_EXPORT ViewElement : public views::ViewObserver, public UIElement {
DISALLOW_COPY_AND_ASSIGN(ViewElement);
};
-} // namespace devtools
-} // namespace ash
+} // namespace ui_devtools
-#endif // ASH_DEVTOOLS_VIEW_ELEMENT_H_
+#endif // COMPONENTS_UI_DEVTOOLS_VIEWS_VIEW_ELEMENT_H_
« no previous file with comments | « components/ui_devtools/views/ui_element_delegate.h ('k') | components/ui_devtools/views/view_element.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698