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 ¢er_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; |