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

Unified Diff: components/native_app_window/size_constraints.h

Issue 616253002: Extract NativeAppWindow from src/extensions Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: might fix athena. similarity=33 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
Index: components/native_app_window/size_constraints.h
diff --git a/extensions/browser/app_window/size_constraints.h b/components/native_app_window/size_constraints.h
similarity index 81%
rename from extensions/browser/app_window/size_constraints.h
rename to components/native_app_window/size_constraints.h
index ecacf1e5eb13ee5e848cb49fccded4458f3ff9db..f646c36ad9c03f3aa120afe6f50c173a148dfbbf 100644
--- a/extensions/browser/app_window/size_constraints.h
+++ b/components/native_app_window/size_constraints.h
@@ -2,18 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef EXTENSIONS_BROWSER_APP_WINDOW_SIZE_CONSTRAINTS_H_
-#define EXTENSIONS_BROWSER_APP_WINDOW_SIZE_CONSTRAINTS_H_
+#ifndef COMPONENTS_NATIVE_APP_WINDOW_SIZE_CONSTRAINTS_H_
+#define COMPONENTS_NATIVE_APP_WINDOW_SIZE_CONSTRAINTS_H_
+#include "components/native_app_window/native_app_window_export.h"
#include "ui/gfx/geometry/size.h"
namespace gfx {
class Insets;
}
-namespace extensions {
+namespace native_app_window {
-class SizeConstraints {
+class NATIVE_APP_WINDOW_EXPORT SizeConstraints {
public:
// The value SizeConstraints uses to represent an unbounded width or height.
// This is an enum so that it can be declared inline here.
@@ -52,6 +53,6 @@ class SizeConstraints {
gfx::Size maximum_size_;
};
-} // namespace extensions
+} // namespace native_app_window
-#endif // EXTENSIONS_BROWSER_APP_WINDOW_SIZE_CONSTRAINTS_H_
+#endif // COMPONENTS_NATIVE_APP_WINDOW_SIZE_CONSTRAINTS_H_
« no previous file with comments | « components/native_app_window/native_app_window_views.cc ('k') | components/native_app_window/size_constraints.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698