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

Unified Diff: extensions/browser/app_window/native_app_window.h

Issue 479933003: Move NativeAppWindow to extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | « extensions/browser/DEPS ('k') | extensions/extensions.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/app_window/native_app_window.h
diff --git a/apps/ui/native_app_window.h b/extensions/browser/app_window/native_app_window.h
similarity index 89%
rename from apps/ui/native_app_window.h
rename to extensions/browser/app_window/native_app_window.h
index fd0cc2633718e7523be5e5edf81fc7dfcffe44f6..f175cdb49009be750e534e80d0a2c95600414d1e 100644
--- a/apps/ui/native_app_window.h
+++ b/extensions/browser/app_window/native_app_window.h
@@ -2,16 +2,24 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef APPS_UI_NATIVE_APP_WINDOW_H_
-#define APPS_UI_NATIVE_APP_WINDOW_H_
+#ifndef EXTENSIONS_BROWSER_APP_WINDOW_NATIVE_APP_WINDOW_H_
+#define EXTENSIONS_BROWSER_APP_WINDOW_NATIVE_APP_WINDOW_H_
-#include "apps/app_window.h"
+#include <vector>
+
+#include "base/memory/scoped_ptr.h"
#include "components/web_modal/web_contents_modal_dialog_host.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/base/base_window.h"
#include "ui/gfx/insets.h"
-namespace apps {
+namespace content {
+struct NativeWebKeyboardEvent;
+}
+
+namespace extensions {
+
+struct DraggableRegion;
// This is an interface to a native implementation of a app window, used for
// new-style packaged apps. App windows contain a web contents, but no tabs
@@ -40,7 +48,7 @@ class NativeAppWindow : public ui::BaseWindow,
// Called when the draggable regions are changed.
virtual void UpdateDraggableRegions(
- const std::vector<extensions::DraggableRegion>& regions) = 0;
+ const std::vector<DraggableRegion>& regions) = 0;
// Returns the region used by frameless windows for dragging. May return NULL.
virtual SkRegion* GetDraggableRegion() = 0;
@@ -94,6 +102,6 @@ class NativeAppWindow : public ui::BaseWindow,
virtual ~NativeAppWindow() {}
};
-} // namespace apps
+} // namespace extensions
-#endif // APPS_UI_NATIVE_APP_WINDOW_H_
+#endif // EXTENSIONS_BROWSER_APP_WINDOW_NATIVE_APP_WINDOW_H_
« no previous file with comments | « extensions/browser/DEPS ('k') | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698