| OLD | NEW |
| 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/app_list_model_observer.h" | 10 #include "ui/app_list/app_list_model_observer.h" |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE; | 81 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE; |
| 82 virtual void Layout() OVERRIDE; | 82 virtual void Layout() OVERRIDE; |
| 83 | 83 |
| 84 // Overridden from views::WidgetObserver: | 84 // Overridden from views::WidgetObserver: |
| 85 virtual void OnWidgetDestroying(views::Widget* widget) OVERRIDE; | 85 virtual void OnWidgetDestroying(views::Widget* widget) OVERRIDE; |
| 86 virtual void OnWidgetVisibilityChanged( | 86 virtual void OnWidgetVisibilityChanged( |
| 87 views::Widget* widget, bool visible) OVERRIDE; | 87 views::Widget* widget, bool visible) OVERRIDE; |
| 88 virtual void OnWidgetActivationChanged( | 88 virtual void OnWidgetActivationChanged( |
| 89 views::Widget* widget, bool active) OVERRIDE; | 89 views::Widget* widget, bool active) OVERRIDE; |
| 90 | 90 |
| 91 // Overridden from AppListModelObserver: | 91 // Overridden from app_list::AppListModelObserver: |
| 92 virtual void OnAppListModelCurrentUserChanged() OVERRIDE; |
| 92 virtual void OnAppListModelSigninStatusChanged() OVERRIDE; | 93 virtual void OnAppListModelSigninStatusChanged() OVERRIDE; |
| 93 virtual void OnAppListModelCurrentUserChanged() OVERRIDE; | 94 virtual void OnAppListModelProfileMenuItemsChanged() OVERRIDE; |
| 94 | |
| 95 SigninDelegate* GetSigninDelegate(); | |
| 96 | 95 |
| 97 scoped_ptr<AppListModel> model_; | 96 scoped_ptr<AppListModel> model_; |
| 98 scoped_ptr<AppListViewDelegate> delegate_; | 97 scoped_ptr<AppListViewDelegate> delegate_; |
| 99 | 98 |
| 100 AppListMainView* app_list_main_view_; | 99 AppListMainView* app_list_main_view_; |
| 101 SigninView* signin_view_; | 100 SigninView* signin_view_; |
| 102 | 101 |
| 103 DISALLOW_COPY_AND_ASSIGN(AppListView); | 102 DISALLOW_COPY_AND_ASSIGN(AppListView); |
| 104 }; | 103 }; |
| 105 | 104 |
| 106 } // namespace app_list | 105 } // namespace app_list |
| 107 | 106 |
| 108 #endif // UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_ | 107 #endif // UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_ |
| OLD | NEW |