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

Unified Diff: components/ui_devtools/devtools/window_element.h

Issue 2899783002: Move DevTools out of ash and turn it to a component. (Closed)
Patch Set: rebase 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
Index: components/ui_devtools/devtools/window_element.h
diff --git a/ash/devtools/window_element.h b/components/ui_devtools/devtools/window_element.h
similarity index 81%
rename from ash/devtools/window_element.h
rename to components/ui_devtools/devtools/window_element.h
index 2f4996f4f9cd9568b6d03a664e0df0490a9b8a1b..2be28589ddf33cfd1f48f8bdcfc971d9bec6e28d 100644
--- a/ash/devtools/window_element.h
+++ b/components/ui_devtools/devtools/window_element.h
@@ -2,20 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef ASH_DEVTOOLS_WINDOW_ELEMENT_H_
-#define ASH_DEVTOOLS_WINDOW_ELEMENT_H_
+#ifndef COMPONENTS_UI_DEVTOOLS_DEVTOOLS_WINDOW_ELEMENT_H_
+#define COMPONENTS_UI_DEVTOOLS_DEVTOOLS_WINDOW_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/aura/window_observer.h"
#include "ui/gfx/geometry/rect.h"
-namespace ash {
+namespace ui {
namespace devtools {
-class ASH_EXPORT WindowElement : public aura::WindowObserver, public UIElement {
+class WindowElement : public aura::WindowObserver, public UIElement {
public:
WindowElement(aura::Window* window,
UIElementDelegate* ui_element_delegate,
@@ -49,6 +48,6 @@ class ASH_EXPORT WindowElement : public aura::WindowObserver, public UIElement {
};
} // namespace devtools
-} // namespace ash
+} // namespace ui
-#endif // ASH_DEVTOOLS_WINDOW_ELEMENT_H_
+#endif // COMPONENTS_UI_DEVTOOLS_DEVTOOLS_WINDOW_ELEMENT_H_

Powered by Google App Engine
This is Rietveld 408576698