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

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

Issue 2802903003: Implementation of a full screen app list and re-alphabetized switches (Closed)
Patch Set: Addressed the issues that were brought up. Created 3 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_view.h
diff --git a/ui/app_list/views/app_list_view.h b/ui/app_list/views/app_list_view.h
index fb3b061ebef8785d33a8e979000d097a1cbf251c..9dc52f65b7daaf54cfbd25e2b51d41775e02633f 100644
--- a/ui/app_list/views/app_list_view.h
+++ b/ui/app_list/views/app_list_view.h
@@ -35,10 +35,17 @@ class APP_LIST_EXPORT AppListView : public views::BubbleDialogDelegateView,
public SpeechUIModelObserver {
public:
// Does not take ownership of |delegate|.
- explicit AppListView(AppListViewDelegate* delegate);
+ explicit AppListView(AppListViewDelegate *delegate);
~AppListView() override;
- // Initializes the widget.
+ // Initializes the widget with a frame or a frameless view depending on
+ // command line switches
+ void Initialize(gfx::NativeView parent, int initial_apps_page,
+ const gfx::Point &center_of_display_window,
vadimt 2017/04/13 21:48:34 Please fix indentation... actually, here and every
newcomer 2017/04/18 21:12:34 Done. Thanks for showing me git cl format !!
+ const gfx::Rect display_work_area_bounds);
+
+ // Initializes the widget as a bubble. Integrated into InitializeWindow but
+ // kept around for its usage in app_list_presenter_delegate_mus.cc
void InitAsBubble(gfx::NativeView parent, int initial_apps_page);
void SetBubbleArrow(views::BubbleBorder::Arrow arrow);
@@ -69,6 +76,7 @@ class APP_LIST_EXPORT AppListView : public views::BubbleDialogDelegateView,
// Overridden from views::View:
gfx::Size GetPreferredSize() const override;
void OnPaint(gfx::Canvas* canvas) override;
+ const char* GetClassName() const override;
// WidgetDelegate overrides:
bool ShouldHandleSystemCommands() const override;

Powered by Google App Engine
This is Rietveld 408576698