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

Unified Diff: components/native_app_window/native_app_window_views.h

Issue 576863003: Componentize NativeAppWindowViews (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/native_app_window/DEPS ('k') | components/native_app_window/native_app_window_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/native_app_window/native_app_window_views.h
diff --git a/apps/ui/views/native_app_window_views.h b/components/native_app_window/native_app_window_views.h
similarity index 96%
rename from apps/ui/views/native_app_window_views.h
rename to components/native_app_window/native_app_window_views.h
index 931faba211d476acf929c0e87b7338fdf4357388..c3925435bed42abc75321a0a9ea6d1a1c54e75ba 100644
--- a/apps/ui/views/native_app_window_views.h
+++ b/components/native_app_window/native_app_window_views.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_
-#define APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_
+#ifndef COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_VIEWS_H_
+#define COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_VIEWS_H_
#include "base/observer_list.h"
#include "content/public/browser/web_contents_observer.h"
@@ -37,9 +37,7 @@ class MenuRunner;
class WebView;
}
-namespace apps {
-
-class AppWindowFrameView;
+namespace native_app_window {
// A NativeAppWindow backed by a views::Widget. This class may be used alone
// as a stub or subclassed (for example, ChromeNativeAppWindowViews).
@@ -193,6 +191,6 @@ class NativeAppWindowViews : public extensions::NativeAppWindow,
DISALLOW_COPY_AND_ASSIGN(NativeAppWindowViews);
};
-} // namespace apps
+} // namespace extensions
-#endif // APPS_UI_VIEWS_NATIVE_APP_WINDOW_VIEWS_H_
+#endif // COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_VIEWS_H_
« no previous file with comments | « components/native_app_window/DEPS ('k') | components/native_app_window/native_app_window_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698