| 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 53d08a40dd7c08bea30d3111270834603f8f859c..a6c7def8a500208d8be02bcadd65af981353d64c 100644
|
| --- a/ui/app_list/views/app_list_view.h
|
| +++ b/ui/app_list/views/app_list_view.h
|
| @@ -39,13 +39,22 @@ class APP_LIST_EXPORT AppListView : public views::BubbleDelegateView,
|
| explicit AppListView(AppListViewDelegate* delegate);
|
| virtual ~AppListView();
|
|
|
| - // Initializes the widget.
|
| - void InitAsBubble(gfx::NativeView parent,
|
| - PaginationModel* pagination_model,
|
| - views::View* anchor,
|
| - const gfx::Point& anchor_point,
|
| - views::BubbleBorder::Arrow arrow,
|
| - bool border_accepts_events);
|
| + // Initializes the widget and use a given |anchor| plus an |anchor_offset| for
|
| + // positioning.
|
| + void InitAsBubbleAttachedToAnchor(gfx::NativeView parent,
|
| + PaginationModel* pagination_model,
|
| + views::View* anchor,
|
| + const gfx::Point& anchor_offset,
|
| + views::BubbleBorder::Arrow arrow,
|
| + bool border_accepts_events);
|
| +
|
| + // Initializes the widget and use a fixed |anchor_point_in_screen| for
|
| + // positioning.
|
| + void InitAsBubbleAtFixedLocation(gfx::NativeView parent,
|
| + PaginationModel* pagination_model,
|
| + const gfx::Point& anchor_point_in_screen,
|
| + views::BubbleBorder::Arrow arrow,
|
| + bool border_accepts_events);
|
|
|
| void SetBubbleArrow(views::BubbleBorder::Arrow arrow);
|
|
|
| @@ -89,6 +98,11 @@ class APP_LIST_EXPORT AppListView : public views::BubbleDelegateView,
|
| #endif
|
|
|
| private:
|
| + void InitAsBubbleInternal(gfx::NativeView parent,
|
| + PaginationModel* pagination_model,
|
| + views::BubbleBorder::Arrow arrow,
|
| + bool border_accepts_events);
|
| +
|
| // Overridden from views::WidgetDelegateView:
|
| virtual views::View* GetInitiallyFocusedView() OVERRIDE;
|
| virtual gfx::ImageSkia GetWindowIcon() OVERRIDE;
|
|
|