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_ |