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

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

Issue 508813002: Move ownership of the AppListViewDelegate into the AppListService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comments Created 6 years, 3 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_SERVICE_VIEWS_H_ 5 #ifndef CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_VIEWS_H_
6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_VIEWS_H_ 6 #define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_VIEWS_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "chrome/browser/ui/app_list/app_list_service_impl.h" 9 #include "chrome/browser/ui/app_list/app_list_service_impl.h"
10 #include "chrome/browser/ui/app_list/app_list_shower_delegate.h" 10 #include "chrome/browser/ui/app_list/app_list_shower_delegate.h"
(...skipping 26 matching lines...) Expand all
37 virtual void DismissAppList() OVERRIDE; 37 virtual void DismissAppList() OVERRIDE;
38 virtual bool IsAppListVisible() const OVERRIDE; 38 virtual bool IsAppListVisible() const OVERRIDE;
39 virtual gfx::NativeWindow GetAppListWindow() OVERRIDE; 39 virtual gfx::NativeWindow GetAppListWindow() OVERRIDE;
40 virtual Profile* GetCurrentAppListProfile() OVERRIDE; 40 virtual Profile* GetCurrentAppListProfile() OVERRIDE;
41 virtual AppListControllerDelegate* GetControllerDelegate() OVERRIDE; 41 virtual AppListControllerDelegate* GetControllerDelegate() OVERRIDE;
42 42
43 // AppListServiceImpl overrides: 43 // AppListServiceImpl overrides:
44 virtual void DestroyAppList() OVERRIDE; 44 virtual void DestroyAppList() OVERRIDE;
45 45
46 // AppListShowerDelegate overrides: 46 // AppListShowerDelegate overrides:
47 virtual AppListControllerDelegate* GetControllerDelegateForCreate() OVERRIDE; 47 virtual AppListViewDelegate* GetViewDelegateForCreate() OVERRIDE;
48 48
49 private: 49 private:
50 // Responsible for creating the app list and responding to profile changes. 50 // Responsible for creating the app list and responding to profile changes.
51 AppListShower shower_; 51 AppListShower shower_;
52 52
53 bool can_dismiss_; 53 bool can_dismiss_;
54 scoped_ptr<AppListControllerDelegate> controller_delegate_; 54 scoped_ptr<AppListControllerDelegate> controller_delegate_;
55 55
56 DISALLOW_COPY_AND_ASSIGN(AppListServiceViews); 56 DISALLOW_COPY_AND_ASSIGN(AppListServiceViews);
57 }; 57 };
58 58
59 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_VIEWS_H_ 59 #endif // CHROME_BROWSER_UI_APP_LIST_APP_LIST_SERVICE_VIEWS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/app_list_service_unittest.cc ('k') | chrome/browser/ui/app_list/app_list_service_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698