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

Unified Diff: components/ui_devtools/views/window_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/widget_element.cc ('k') | components/ui_devtools/views/window_element.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ui_devtools/views/window_element.h
diff --git a/ash/devtools/window_element.h b/components/ui_devtools/views/window_element.h
similarity index 80%
rename from ash/devtools/window_element.h
rename to components/ui_devtools/views/window_element.h
index 2f4996f4f9cd9568b6d03a664e0df0490a9b8a1b..2574eff91560636afd9e051f49198e5df9229522 100644
--- a/ash/devtools/window_element.h
+++ b/components/ui_devtools/views/window_element.h
@@ -2,20 +2,18 @@
// 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_VIEWS_WINDOW_ELEMENT_H_
+#define COMPONENTS_UI_DEVTOOLS_VIEWS_WINDOW_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/aura/window_observer.h"
#include "ui/gfx/geometry/rect.h"
-namespace ash {
-namespace devtools {
+namespace ui_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,
@@ -48,7 +46,6 @@ class ASH_EXPORT WindowElement : public aura::WindowObserver, public UIElement {
DISALLOW_COPY_AND_ASSIGN(WindowElement);
};
-} // namespace devtools
-} // namespace ash
+} // namespace ui_devtools
-#endif // ASH_DEVTOOLS_WINDOW_ELEMENT_H_
+#endif // COMPONENTS_UI_DEVTOOLS_VIEWS_WINDOW_ELEMENT_H_
« no previous file with comments | « components/ui_devtools/views/widget_element.cc ('k') | components/ui_devtools/views/window_element.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698