Index: components/native_app_window/native_app_window_views.cc |
diff --git a/apps/ui/views/native_app_window_views.cc b/components/native_app_window/native_app_window_views.cc |
similarity index 98% |
rename from apps/ui/views/native_app_window_views.cc |
rename to components/native_app_window/native_app_window_views.cc |
index b053af5946115bd0983be38fe5ea69e03034a0b9..5d5ac6efa338068d2931f36ab227a42e8e9359c4 100644 |
--- a/apps/ui/views/native_app_window_views.cc |
+++ b/components/native_app_window/native_app_window_views.cc |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "apps/ui/views/native_app_window_views.h" |
+#include "components/native_app_window/native_app_window_views.h" |
#include "base/threading/sequenced_worker_pool.h" |
#include "content/public/browser/render_view_host.h" |
@@ -20,9 +20,7 @@ |
#include "ui/aura/window.h" |
#endif |
-using extensions::AppWindow; |
- |
-namespace apps { |
+namespace extensions { |
NativeAppWindowViews::NativeAppWindowViews() |
: app_window_(NULL), |
@@ -328,7 +326,7 @@ void NativeAppWindowViews::UpdateBadgeIcon() { |
} |
void NativeAppWindowViews::UpdateDraggableRegions( |
- const std::vector<extensions::DraggableRegion>& regions) { |
+ const std::vector<DraggableRegion>& regions) { |
// Draggable region is not supported for non-frameless window. |
if (!frameless_) |
return; |
@@ -407,4 +405,4 @@ void NativeAppWindowViews::SetVisibleOnAllWorkspaces(bool always_visible) { |
widget_->SetVisibleOnAllWorkspaces(always_visible); |
} |
-} // namespace apps |
+} // namespace extensions |