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

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

Issue 276833002: Make the App Info Dialog appear modal (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changed the AppList overlay to be a Background Created 6 years, 7 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 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 #include "chrome/browser/ui/app_list/app_list_service_views.h" 5 #include "chrome/browser/ui/app_list/app_list_service_views.h"
6 6
7 #include "chrome/browser/ui/app_list/app_list_controller_delegate.h" 7 #include "chrome/browser/ui/app_list/app_list_controller_delegate.h"
8 #include "chrome/browser/ui/app_list/scoped_keep_alive.h" 8 #include "chrome/browser/ui/app_list/scoped_keep_alive.h"
9 9
10 AppListServiceViews::AppListServiceViews( 10 AppListServiceViews::AppListServiceViews(
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 } 50 }
51 51
52 bool AppListServiceViews::IsAppListVisible() const { 52 bool AppListServiceViews::IsAppListVisible() const {
53 return shower_.IsAppListVisible(); 53 return shower_.IsAppListVisible();
54 } 54 }
55 55
56 gfx::NativeWindow AppListServiceViews::GetAppListWindow() { 56 gfx::NativeWindow AppListServiceViews::GetAppListWindow() {
57 return shower_.GetWindow(); 57 return shower_.GetWindow();
58 } 58 }
59 59
60 app_list::AppListView* AppListServiceViews::GetAppListView() {
61 return shower_.app_list();
62 }
63
60 Profile* AppListServiceViews::GetCurrentAppListProfile() { 64 Profile* AppListServiceViews::GetCurrentAppListProfile() {
61 return shower_.profile(); 65 return shower_.profile();
62 } 66 }
63 67
64 AppListControllerDelegate* AppListServiceViews::GetControllerDelegate() { 68 AppListControllerDelegate* AppListServiceViews::GetControllerDelegate() {
65 return controller_delegate_.get(); 69 return controller_delegate_.get();
66 } 70 }
67 71
68 AppListControllerDelegate* 72 AppListControllerDelegate*
69 AppListServiceViews::GetControllerDelegateForCreate() { 73 AppListServiceViews::GetControllerDelegateForCreate() {
70 return controller_delegate_.get(); 74 return controller_delegate_.get();
71 } 75 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698