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

Unified Diff: components/ui_devtools/views/widget_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/view_element.cc ('k') | components/ui_devtools/views/widget_element.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ui_devtools/views/widget_element.h
diff --git a/ash/devtools/widget_element.h b/components/ui_devtools/views/widget_element.h
similarity index 74%
rename from ash/devtools/widget_element.h
rename to components/ui_devtools/views/widget_element.h
index c8715787061e5b27c45efe5f9b700e5ebf6e5b01..9acc5ebfcceb2f844a74be161fcef723874e9227 100644
--- a/ash/devtools/widget_element.h
+++ b/components/ui_devtools/views/widget_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_WIDGET_ELEMENT_H_
-#define ASH_DEVTOOLS_WIDGET_ELEMENT_H_
+#ifndef COMPONENTS_UI_DEVTOOLS_VIEWS_WIDGET_ELEMENT_H_
+#define COMPONENTS_UI_DEVTOOLS_VIEWS_WIDGET_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/widget/widget.h"
#include "ui/views/widget/widget_observer.h"
#include "ui/views/widget/widget_removals_observer.h"
-namespace ash {
-namespace devtools {
+namespace ui_devtools {
class UIElementDelegate;
-class ASH_EXPORT WidgetElement : public views::WidgetRemovalsObserver,
- public views::WidgetObserver,
- public UIElement {
+class WidgetElement : public views::WidgetRemovalsObserver,
+ public views::WidgetObserver,
+ public UIElement {
public:
WidgetElement(views::Widget* widget,
UIElementDelegate* ui_element_delegate,
@@ -51,7 +49,6 @@ class ASH_EXPORT WidgetElement : public views::WidgetRemovalsObserver,
DISALLOW_COPY_AND_ASSIGN(WidgetElement);
};
-} // namespace devtools
-} // namespace ash
+} // namespace ui_devtools
-#endif // ASH_DEVTOOLS_WIDGET_ELEMENT_H_
+#endif // COMPONENTS_UI_DEVTOOLS_VIEWS_WIDGET_ELEMENT_H_
« no previous file with comments | « components/ui_devtools/views/view_element.cc ('k') | components/ui_devtools/views/widget_element.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698