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

Side by Side Diff: ash/app_list/app_list_view.h

Issue 9677065: ash: Update app list UI to match latest crwm. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « ash/app_list/app_list_model_view.cc ('k') | ash/app_list/app_list_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ASH_APP_LIST_APP_LIST_VIEW_H_ 5 #ifndef ASH_APP_LIST_APP_LIST_VIEW_H_
6 #define ASH_APP_LIST_APP_LIST_VIEW_H_ 6 #define ASH_APP_LIST_APP_LIST_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "ui/views/controls/button/button.h" 10 #include "ui/views/controls/button/button.h"
(...skipping 12 matching lines...) Expand all
23 // AppListView is the top-level view and controller of app list UI. It creates 23 // AppListView is the top-level view and controller of app list UI. It creates
24 // and hosts a AppListModelView and passes AppListModel to it for display. 24 // and hosts a AppListModelView and passes AppListModel to it for display.
25 class AppListView : public views::WidgetDelegateView, 25 class AppListView : public views::WidgetDelegateView,
26 public views::ButtonListener { 26 public views::ButtonListener {
27 public: 27 public:
28 // Takes ownership of |delegate|. 28 // Takes ownership of |delegate|.
29 AppListView(AppListViewDelegate* delegate, 29 AppListView(AppListViewDelegate* delegate,
30 const gfx::Rect& bounds); 30 const gfx::Rect& bounds);
31 virtual ~AppListView(); 31 virtual ~AppListView();
32 32
33 // Closes app list. 33 void AnimateShow();
34 void AnimateHide();
35
34 void Close(); 36 void Close();
35 37
36 private: 38 private:
37 // Initializes the window. 39 // Initializes the window.
38 void Init(const gfx::Rect& bounds); 40 void Init(const gfx::Rect& bounds);
39 41
40 // Updates model using query text in search box. 42 // Updates model using query text in search box.
41 void UpdateModel(); 43 void UpdateModel();
42 44
43 // Overridden from views::WidgetDelegateView: 45 // Overridden from views::WidgetDelegateView:
(...skipping 13 matching lines...) Expand all
57 scoped_ptr<AppListViewDelegate> delegate_; 59 scoped_ptr<AppListViewDelegate> delegate_;
58 60
59 AppListModelView* model_view_; 61 AppListModelView* model_view_;
60 62
61 DISALLOW_COPY_AND_ASSIGN(AppListView); 63 DISALLOW_COPY_AND_ASSIGN(AppListView);
62 }; 64 };
63 65
64 } // namespace ash 66 } // namespace ash
65 67
66 #endif // ASH_APP_LIST_APP_LIST_VIEW_H_ 68 #endif // ASH_APP_LIST_APP_LIST_VIEW_H_
OLDNEW
« no previous file with comments | « ash/app_list/app_list_model_view.cc ('k') | ash/app_list/app_list_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698