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

Unified Diff: ui/app_list/views/app_list_view.cc

Issue 2713603002: Remove fullscreen applist (Closed)
Patch Set: . Created 3 years, 10 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 | « ui/app_list/views/app_list_view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/app_list_view.cc
diff --git a/ui/app_list/views/app_list_view.cc b/ui/app_list/views/app_list_view.cc
index 6f380138b1b24dc4c0d523f6095b0958d8bb938f..5b69b4dff5ff41ac6227a90cc34eac5464b18032 100644
--- a/ui/app_list/views/app_list_view.cc
+++ b/ui/app_list/views/app_list_view.cc
@@ -229,25 +229,6 @@ void AppListView::InitAsBubble(gfx::NativeView parent, int initial_apps_page) {
base::Time::Now() - start_time);
}
-void AppListView::InitAsFramelessWindow(gfx::NativeView parent,
- int initial_apps_page,
- gfx::Rect bounds) {
- set_color(kContentsBackgroundColor);
- InitContents(parent, initial_apps_page);
- overlay_view_ = new AppListOverlayView(0 /* no corners */);
- AddChildView(overlay_view_);
-
- views::Widget* widget = new views::Widget();
- views::Widget::InitParams params(
- views::Widget::InitParams::TYPE_WINDOW_FRAMELESS);
- params.parent = parent;
- params.delegate = this;
- widget->Init(params);
- widget->SetBounds(bounds);
-
- InitChildWidgets();
-}
-
void AppListView::SetBubbleArrow(views::BubbleBorder::Arrow arrow) {
GetBubbleFrameView()->bubble_border()->set_arrow(arrow);
SizeToContents(); // Recalcuates with new border.
« no previous file with comments | « ui/app_list/views/app_list_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698