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

Side by Side Diff: ui/app_list/views/app_list_view.h

Issue 2713603002: Remove fullscreen applist (Closed)
Patch Set: . Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_ 5 #ifndef UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_
6 #define UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_ 6 #define UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 27 matching lines...) Expand all
38 class APP_LIST_EXPORT AppListView : public views::BubbleDialogDelegateView, 38 class APP_LIST_EXPORT AppListView : public views::BubbleDialogDelegateView,
39 public SpeechUIModelObserver { 39 public SpeechUIModelObserver {
40 public: 40 public:
41 // Does not take ownership of |delegate|. 41 // Does not take ownership of |delegate|.
42 explicit AppListView(AppListViewDelegate* delegate); 42 explicit AppListView(AppListViewDelegate* delegate);
43 ~AppListView() override; 43 ~AppListView() override;
44 44
45 // Initializes the widget. 45 // Initializes the widget.
46 void InitAsBubble(gfx::NativeView parent, int initial_apps_page); 46 void InitAsBubble(gfx::NativeView parent, int initial_apps_page);
47 47
48 // Initializes the widget as a frameless window, not a bubble.
49 void InitAsFramelessWindow(gfx::NativeView parent,
50 int initial_apps_page,
51 gfx::Rect bounds);
52
53 void SetBubbleArrow(views::BubbleBorder::Arrow arrow); 48 void SetBubbleArrow(views::BubbleBorder::Arrow arrow);
54 49
55 void SetAnchorPoint(const gfx::Point& anchor_point); 50 void SetAnchorPoint(const gfx::Point& anchor_point);
56 51
57 // If |drag_and_drop_host| is not NULL it will be called upon drag and drop 52 // If |drag_and_drop_host| is not NULL it will be called upon drag and drop
58 // operations outside the application list. This has to be called after 53 // operations outside the application list. This has to be called after
59 // InitAsBubble was called since the app list object needs to exist so that 54 // InitAsBubble was called since the app list object needs to exist so that
60 // it can set the host. 55 // it can set the host.
61 void SetDragAndDropHostOfCurrentAppList( 56 void SetDragAndDropHostOfCurrentAppList(
62 ApplicationDragAndDropHost* drag_and_drop_host); 57 ApplicationDragAndDropHost* drag_and_drop_host);
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 134
140 // For UMA and testing. If non-null, triggered when the app list is painted. 135 // For UMA and testing. If non-null, triggered when the app list is painted.
141 base::Closure next_paint_callback_; 136 base::Closure next_paint_callback_;
142 137
143 DISALLOW_COPY_AND_ASSIGN(AppListView); 138 DISALLOW_COPY_AND_ASSIGN(AppListView);
144 }; 139 };
145 140
146 } // namespace app_list 141 } // namespace app_list
147 142
148 #endif // UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_ 143 #endif // UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_
OLDNEW
« no previous file with comments | « ui/app_list/presenter/app_list_presenter_impl_unittest.cc ('k') | ui/app_list/views/app_list_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698