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

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

Issue 21592003: app_list: Show apps grid after installing from cws result. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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
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 "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "ui/app_list/app_list_export.h" 9 #include "ui/app_list/app_list_export.h"
10 #include "ui/app_list/signin_delegate_observer.h" 10 #include "ui/app_list/signin_delegate_observer.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 virtual gfx::Size GetPreferredSize() OVERRIDE; 63 virtual gfx::Size GetPreferredSize() OVERRIDE;
64 64
65 // WidgetDelegate overrides: 65 // WidgetDelegate overrides:
66 virtual bool ShouldHandleSystemCommands() const OVERRIDE; 66 virtual bool ShouldHandleSystemCommands() const OVERRIDE;
67 67
68 void Prerender(); 68 void Prerender();
69 69
70 // Invoked when the sign-in status is changed to switch on/off sign-in view. 70 // Invoked when the sign-in status is changed to switch on/off sign-in view.
71 void OnSigninStatusChanged(); 71 void OnSigninStatusChanged();
72 72
73 // Shows the apps grid regardless of whether there is a query.
74 void ShowAppsGrid();
75
73 private: 76 private:
74 // Overridden from views::WidgetDelegateView: 77 // Overridden from views::WidgetDelegateView:
75 virtual views::View* GetInitiallyFocusedView() OVERRIDE; 78 virtual views::View* GetInitiallyFocusedView() OVERRIDE;
76 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; 79 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE;
77 virtual bool WidgetHasHitTestMask() const OVERRIDE; 80 virtual bool WidgetHasHitTestMask() const OVERRIDE;
78 virtual void GetWidgetHitTestMask(gfx::Path* mask) const OVERRIDE; 81 virtual void GetWidgetHitTestMask(gfx::Path* mask) const OVERRIDE;
79 82
80 // Overridden from views::View: 83 // Overridden from views::View:
81 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE; 84 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE;
82 virtual void Layout() OVERRIDE; 85 virtual void Layout() OVERRIDE;
(...skipping 15 matching lines...) Expand all
98 101
99 AppListMainView* app_list_main_view_; 102 AppListMainView* app_list_main_view_;
100 SigninView* signin_view_; 103 SigninView* signin_view_;
101 104
102 DISALLOW_COPY_AND_ASSIGN(AppListView); 105 DISALLOW_COPY_AND_ASSIGN(AppListView);
103 }; 106 };
104 107
105 } // namespace app_list 108 } // namespace app_list
106 109
107 #endif // UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_ 110 #endif // UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698