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

Unified Diff: components/ui_devtools/devtools/widget_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
« no previous file with comments | « components/ui_devtools/devtools/view_element.cc ('k') | components/ui_devtools/devtools/widget_element.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ui_devtools/devtools/widget_element.h
diff --git a/ash/devtools/widget_element.h b/components/ui_devtools/devtools/widget_element.h
similarity index 76%
rename from ash/devtools/widget_element.h
rename to components/ui_devtools/devtools/widget_element.h
index a87a450569f6377a7cd2b3ffe7430887dcc7c7a7..6cfa52074d80b42fe0406ee88d9caca76ee83d68 100644
--- a/ash/devtools/widget_element.h
+++ b/components/ui_devtools/devtools/widget_element.h
@@ -2,26 +2,25 @@
// 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_DEVTOOLS_WIDGET_ELEMENT_H_
+#define COMPONETNS_UI_DEVTOOLS_DEVTOOLS_WIDGET_ELEMENT_H_
-#include "ash/ash_export.h"
-#include "ash/devtools/ui_element.h"
#include "base/macros.h"
+#include "components/ui_devtools/devtools/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 ui {
namespace 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,
@@ -53,6 +52,6 @@ class ASH_EXPORT WidgetElement : public views::WidgetRemovalsObserver,
};
} // namespace devtools
-} // namespace ash
+} // namespace ui
-#endif // ASH_DEVTOOLS_WIDGET_ELEMENT_H_
+#endif // COMPONENTS_UI_DEVTOOLS_DEVTOOLS_WIDGET_ELEMENT_H_
« no previous file with comments | « components/ui_devtools/devtools/view_element.cc ('k') | components/ui_devtools/devtools/widget_element.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698