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

Side by Side Diff: chrome/browser/ui/app_list/app_list_view_delegate.h

Issue 365013003: Experimental app list: Custom launcher pages have app APIs and style. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: No this. Created 6 years, 5 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 CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/callback_forward.h" 11 #include "base/callback_forward.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/observer_list.h" 14 #include "base/observer_list.h"
15 #include "base/scoped_observer.h" 15 #include "base/scoped_observer.h"
16 #include "chrome/browser/profiles/profile_info_cache_observer.h" 16 #include "chrome/browser/profiles/profile_info_cache_observer.h"
17 #include "chrome/browser/search/hotword_client.h" 17 #include "chrome/browser/search/hotword_client.h"
18 #include "chrome/browser/signin/signin_manager_factory.h" 18 #include "chrome/browser/signin/signin_manager_factory.h"
19 #include "chrome/browser/ui/app_list/start_page_observer.h" 19 #include "chrome/browser/ui/app_list/start_page_observer.h"
20 #include "components/signin/core/browser/signin_manager_base.h" 20 #include "components/signin/core/browser/signin_manager_base.h"
21 #include "ui/app_list/app_list_view_delegate.h" 21 #include "ui/app_list/app_list_view_delegate.h"
22 22
23 class AppListControllerDelegate; 23 class AppListControllerDelegate;
24 class Profile; 24 class Profile;
25 25
26 namespace apps {
27 class CustomLauncherPageContents;
28 }
29
26 namespace app_list { 30 namespace app_list {
27 class SearchController; 31 class SearchController;
28 class SpeechUIModel; 32 class SpeechUIModel;
29 } 33 }
30 34
31 namespace base { 35 namespace base {
32 class FilePath; 36 class FilePath;
33 } 37 }
34 38
35 namespace content {
36 class WebContents;
37 }
38
39 namespace gfx { 39 namespace gfx {
40 class ImageSkia; 40 class ImageSkia;
41 } 41 }
42 42
43 #if defined(USE_ASH) 43 #if defined(USE_ASH)
44 class AppSyncUIStateWatcher; 44 class AppSyncUIStateWatcher;
45 #endif 45 #endif
46 46
47 class AppListViewDelegate : public app_list::AppListViewDelegate, 47 class AppListViewDelegate : public app_list::AppListViewDelegate,
48 public app_list::StartPageObserver, 48 public app_list::StartPageObserver,
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 #if defined(USE_ASH) 147 #if defined(USE_ASH)
148 scoped_ptr<AppSyncUIStateWatcher> app_sync_ui_state_watcher_; 148 scoped_ptr<AppSyncUIStateWatcher> app_sync_ui_state_watcher_;
149 #endif 149 #endif
150 150
151 ObserverList<app_list::AppListViewDelegateObserver> observers_; 151 ObserverList<app_list::AppListViewDelegateObserver> observers_;
152 152
153 // Used to track the SigninManagers that this instance is observing so that 153 // Used to track the SigninManagers that this instance is observing so that
154 // this instance can be removed as an observer on its destruction. 154 // this instance can be removed as an observer on its destruction.
155 ScopedObserver<SigninManagerBase, AppListViewDelegate> scoped_observer_; 155 ScopedObserver<SigninManagerBase, AppListViewDelegate> scoped_observer_;
156 156
157 // Contents of the additional custom launcher page. May be NULL. 157 // Window contents of the additional custom launcher page. May be NULL.
158 scoped_ptr<content::WebContents> custom_page_web_contents_; 158 scoped_ptr<apps::CustomLauncherPageContents> custom_page_contents_;
159 159
160 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate); 160 DISALLOW_COPY_AND_ASSIGN(AppListViewDelegate);
161 }; 161 };
162 162
163 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_ 163 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_VIEW_DELEGATE_H_
OLDNEW
« no previous file with comments | « apps/custom_launcher_page_contents.cc ('k') | chrome/browser/ui/app_list/app_list_view_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698