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

Unified Diff: content/public/renderer/window_features_converter.cc

Issue 2905283003: Remove a bunch of dead code around WindowFeatures (Closed)
Patch Set: Use WebWindowFeatures everywhere Created 3 years, 7 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: content/public/renderer/window_features_converter.cc
diff --git a/content/public/renderer/window_features_converter.cc b/content/public/renderer/window_features_converter.cc
index 84f75f6e66cd856647ea1e8939aeac03bb2de6d4..b8dc86484c15b96284445548bca106f55fd204f0 100644
--- a/content/public/renderer/window_features_converter.cc
+++ b/content/public/renderer/window_features_converter.cc
@@ -20,11 +20,7 @@ blink::mojom::WindowFeaturesPtr ConvertWebWindowFeaturesToMojoWindowFeatures(
result->menu_bar_visible = web_window_features.menu_bar_visible;
result->status_bar_visible = web_window_features.status_bar_visible;
result->tool_bar_visible = web_window_features.tool_bar_visible;
- result->location_bar_visible = web_window_features.location_bar_visible;
result->scrollbars_visible = web_window_features.scrollbars_visible;
- result->resizable = web_window_features.resizable;
- result->fullscreen = web_window_features.fullscreen;
- result->dialog = web_window_features.dialog;
return result;
}
@@ -42,11 +38,7 @@ blink::WebWindowFeatures ConvertMojoWindowFeaturesToWebWindowFeatures(
result.menu_bar_visible = window_features.menu_bar_visible;
result.status_bar_visible = window_features.status_bar_visible;
result.tool_bar_visible = window_features.tool_bar_visible;
- result.location_bar_visible = window_features.location_bar_visible;
result.scrollbars_visible = window_features.scrollbars_visible;
- result.resizable = window_features.resizable;
- result.fullscreen = window_features.fullscreen;
- result.dialog = window_features.dialog;
return result;
}

Powered by Google App Engine
This is Rietveld 408576698