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

Side by Side Diff: chrome/browser/ui/ash/chrome_shell_delegate.cc

Issue 23068021: Remove PerBrowser launcher, reland step 1 of 2 (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 #include "chrome/browser/ui/ash/chrome_shell_delegate.h" 5 #include "chrome/browser/ui/ash/chrome_shell_delegate.h"
6 6
7 #include "apps/native_app_window.h" 7 #include "apps/native_app_window.h"
8 #include "apps/shell_window.h" 8 #include "apps/shell_window.h"
9 #include "apps/shell_window_registry.h" 9 #include "apps/shell_window_registry.h"
10 #include "ash/ash_switches.h" 10 #include "ash/ash_switches.h"
(...skipping 12 matching lines...) Expand all
23 #include "chrome/browser/app_mode/app_mode_utils.h" 23 #include "chrome/browser/app_mode/app_mode_utils.h"
24 #include "chrome/browser/chrome_notification_types.h" 24 #include "chrome/browser/chrome_notification_types.h"
25 #include "chrome/browser/lifetime/application_lifetime.h" 25 #include "chrome/browser/lifetime/application_lifetime.h"
26 #include "chrome/browser/profiles/profile_manager.h" 26 #include "chrome/browser/profiles/profile_manager.h"
27 #include "chrome/browser/sessions/tab_restore_service.h" 27 #include "chrome/browser/sessions/tab_restore_service.h"
28 #include "chrome/browser/sessions/tab_restore_service_factory.h" 28 #include "chrome/browser/sessions/tab_restore_service_factory.h"
29 #include "chrome/browser/sessions/tab_restore_service_observer.h" 29 #include "chrome/browser/sessions/tab_restore_service_observer.h"
30 #include "chrome/browser/ui/app_list/app_list_view_delegate.h" 30 #include "chrome/browser/ui/app_list/app_list_view_delegate.h"
31 #include "chrome/browser/ui/ash/app_list/app_list_controller_ash.h" 31 #include "chrome/browser/ui/ash/app_list/app_list_controller_ash.h"
32 #include "chrome/browser/ui/ash/ash_keyboard_controller_proxy.h" 32 #include "chrome/browser/ui/ash/ash_keyboard_controller_proxy.h"
33 #include "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h" 33 #include "chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.h"
34 #include "chrome/browser/ui/ash/launcher/launcher_context_menu.h" 34 #include "chrome/browser/ui/ash/launcher/launcher_context_menu.h"
35 #include "chrome/browser/ui/ash/user_action_handler.h" 35 #include "chrome/browser/ui/ash/user_action_handler.h"
36 #include "chrome/browser/ui/ash/window_positioner.h" 36 #include "chrome/browser/ui/ash/window_positioner.h"
37 #include "chrome/browser/ui/browser.h" 37 #include "chrome/browser/ui/browser.h"
38 #include "chrome/browser/ui/browser_commands.h" 38 #include "chrome/browser/ui/browser_commands.h"
39 #include "chrome/browser/ui/browser_finder.h" 39 #include "chrome/browser/ui/browser_finder.h"
40 #include "chrome/browser/ui/browser_window.h" 40 #include "chrome/browser/ui/browser_window.h"
41 #include "chrome/browser/ui/host_desktop.h" 41 #include "chrome/browser/ui/host_desktop.h"
42 #include "chrome/browser/ui/immersive_fullscreen_configuration.h" 42 #include "chrome/browser/ui/immersive_fullscreen_configuration.h"
43 #include "chrome/common/chrome_switches.h" 43 #include "chrome/common/chrome_switches.h"
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 return browser; 439 return browser;
440 return chrome::FindOrCreateTabbedBrowser( 440 return chrome::FindOrCreateTabbedBrowser(
441 ProfileManager::GetDefaultProfileOrOffTheRecord(), 441 ProfileManager::GetDefaultProfileOrOffTheRecord(),
442 chrome::HOST_DESKTOP_TYPE_ASH); 442 chrome::HOST_DESKTOP_TYPE_ASH);
443 } 443 }
444 444
445 keyboard::KeyboardControllerProxy* 445 keyboard::KeyboardControllerProxy*
446 ChromeShellDelegate::CreateKeyboardControllerProxy() { 446 ChromeShellDelegate::CreateKeyboardControllerProxy() {
447 return new AshKeyboardControllerProxy(); 447 return new AshKeyboardControllerProxy();
448 } 448 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698