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

Unified Diff: chrome/browser/ui/views/apps/chrome_native_app_window_views.cc

Issue 2886293002: Remove WINDOW_TYPE_V1_PANEL AppWindow type (Closed)
Patch Set: remove unused includes 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: chrome/browser/ui/views/apps/chrome_native_app_window_views.cc
diff --git a/chrome/browser/ui/views/apps/chrome_native_app_window_views.cc b/chrome/browser/ui/views/apps/chrome_native_app_window_views.cc
index a3d48e9b5f50bb135452f819c78e43821fab8358..b710598e5247d6c200b68698ad97c0cb507260af 100644
--- a/chrome/browser/ui/views/apps/chrome_native_app_window_views.cc
+++ b/chrome/browser/ui/views/apps/chrome_native_app_window_views.cc
@@ -360,8 +360,7 @@ void ChromeNativeAppWindowViews::InitializeWindow(
has_frame_color_ = create_params.has_frame_color;
active_frame_color_ = create_params.active_frame_color;
inactive_frame_color_ = create_params.inactive_frame_color;
- if (create_params.window_type == AppWindow::WINDOW_TYPE_PANEL ||
- create_params.window_type == AppWindow::WINDOW_TYPE_V1_PANEL) {
+ if (create_params.window_type == AppWindow::WINDOW_TYPE_PANEL) {
InitializePanelWindow(create_params);
} else {
InitializeDefaultWindow(create_params);

Powered by Google App Engine
This is Rietveld 408576698