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

Unified Diff: content/public/common/window_container_type.cc

Issue 2363573002: Move ViewHostMsg_CreateWindow to mojom (Closed)
Patch Set: . Created 4 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 | « content/public/common/window_container_type.h ('k') | content/public/common/window_container_type.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/window_container_type.cc
diff --git a/content/public/common/window_container_type.cc b/content/public/common/window_container_type.cc
index aec4e18075d1014b97fb6972f976c93291d3a03c..57291bb8a8d4ec54a4f00b334e11b8a8d603cf2f 100644
--- a/content/public/common/window_container_type.cc
+++ b/content/public/common/window_container_type.cc
@@ -18,6 +18,13 @@ const char kPersistent[] = "persistent";
} // namespace
+const WindowContainerType WINDOW_CONTAINER_TYPE_NORMAL =
+ content::mojom::WindowContainerType::NORMAL;
+const WindowContainerType WINDOW_CONTAINER_TYPE_BACKGROUND =
+ content::mojom::WindowContainerType::BACKGROUND;
+const WindowContainerType WINDOW_CONTAINER_TYPE_PERSISTENT =
+ content::mojom::WindowContainerType::PERSISTENT;
+
WindowContainerType WindowFeaturesToContainerType(
const blink::WebWindowFeatures& window_features) {
bool background = false;
« no previous file with comments | « content/public/common/window_container_type.h ('k') | content/public/common/window_container_type.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698