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

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

Issue 253983002: Use centered app list position whenever virtual keyboard is enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Only change shape when keyboard enabled (not when it *might* be enabled). Created 6 years, 8 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: ui/app_list/views/app_list_main_view.cc
diff --git a/ui/app_list/views/app_list_main_view.cc b/ui/app_list/views/app_list_main_view.cc
index 28c06a10a8e4504a25f45d084328b8d8920e0963..cb92d9fd241b996c928a10cd9652dcb7247d632d 100644
--- a/ui/app_list/views/app_list_main_view.cc
+++ b/ui/app_list/views/app_list_main_view.cc
@@ -170,6 +170,10 @@ void AppListMainView::SetDragAndDropHostOfCurrentAppList(
contents_view_->SetDragAndDropHostOfCurrentAppList(drag_and_drop_host);
}
+bool AppListMainView::UseExperimentalAppListPosition() const {
+ return delegate_->UseExperimentalAppListPosition();
+}
+
void AppListMainView::PreloadIcons(gfx::NativeView parent) {
ui::ScaleFactor scale_factor = ui::SCALE_FACTOR_100P;
if (parent)

Powered by Google App Engine
This is Rietveld 408576698