Index: ui/app_list/views/app_list_view.h |
diff --git a/ui/app_list/views/app_list_view.h b/ui/app_list/views/app_list_view.h |
index d072eab1deef7aa4dbdc7ffedfa93b4475c8038b..7180918fad16767c395100ed8ad40bc578a51c7e 100644 |
--- a/ui/app_list/views/app_list_view.h |
+++ b/ui/app_list/views/app_list_view.h |
@@ -75,6 +75,9 @@ class APP_LIST_EXPORT AppListView : public views::BubbleDelegateView, |
void UpdateBounds(); |
+ // Returns true if the app list should be centered and in landscape mode. |
+ bool ShouldCenterWindow() const; |
+ |
// Overridden from views::View: |
virtual gfx::Size GetPreferredSize() OVERRIDE; |
virtual void Paint(gfx::Canvas* canvas) OVERRIDE; |