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 CHROME_BROWSER_UI_VIEWS_ASH_CHROME_SHELL_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_ASH_CHROME_SHELL_DELEGATE_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_ASH_CHROME_SHELL_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_ASH_CHROME_SHELL_DELEGATE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "ash/launcher/launcher_types.h" | 9 #include "ash/launcher/launcher_types.h" |
10 #include "ash/shell_delegate.h" | 10 #include "ash/shell_delegate.h" |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 virtual void Exit() OVERRIDE; | 47 virtual void Exit() OVERRIDE; |
48 virtual ash::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; | 48 virtual ash::AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; |
49 virtual std::vector<aura::Window*> GetCycleWindowList( | 49 virtual std::vector<aura::Window*> GetCycleWindowList( |
50 CycleSource source) const OVERRIDE; | 50 CycleSource source) const OVERRIDE; |
51 virtual void StartPartialScreenshot( | 51 virtual void StartPartialScreenshot( |
52 ash::ScreenshotDelegate* screenshot_delegate) OVERRIDE; | 52 ash::ScreenshotDelegate* screenshot_delegate) OVERRIDE; |
53 virtual ash::LauncherDelegate* CreateLauncherDelegate( | 53 virtual ash::LauncherDelegate* CreateLauncherDelegate( |
54 ash::LauncherModel* model) OVERRIDE; | 54 ash::LauncherModel* model) OVERRIDE; |
55 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate( | 55 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate( |
56 ash::SystemTray* tray) OVERRIDE; | 56 ash::SystemTray* tray) OVERRIDE; |
| 57 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; |
57 | 58 |
58 // content::NotificationObserver override: | 59 // content::NotificationObserver override: |
59 virtual void Observe(int type, | 60 virtual void Observe(int type, |
60 const content::NotificationSource& source, | 61 const content::NotificationSource& source, |
61 const content::NotificationDetails& details) OVERRIDE; | 62 const content::NotificationDetails& details) OVERRIDE; |
62 | 63 |
63 private: | 64 private: |
64 static ChromeShellDelegate* instance_; | 65 static ChromeShellDelegate* instance_; |
65 | 66 |
66 content::NotificationRegistrar registrar_; | 67 content::NotificationRegistrar registrar_; |
67 | 68 |
68 scoped_ptr<StatusAreaHostAura> status_area_host_; | 69 scoped_ptr<StatusAreaHostAura> status_area_host_; |
69 scoped_ptr<WindowPositioner> window_positioner_; | 70 scoped_ptr<WindowPositioner> window_positioner_; |
70 | 71 |
71 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); | 72 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); |
72 }; | 73 }; |
73 | 74 |
74 #endif // CHROME_BROWSER_UI_VIEWS_ASH_CHROME_SHELL_DELEGATE_H_ | 75 #endif // CHROME_BROWSER_UI_VIEWS_ASH_CHROME_SHELL_DELEGATE_H_ |
OLD | NEW |