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_ASH_CHROME_SHELL_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ |
6 #define CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "ash/shelf/shelf_item_types.h" | 10 #include "ash/shelf/shelf_item_types.h" |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 virtual ash::AccessibilityDelegate* CreateAccessibilityDelegate() OVERRIDE; | 65 virtual ash::AccessibilityDelegate* CreateAccessibilityDelegate() OVERRIDE; |
66 virtual ash::NewWindowDelegate* CreateNewWindowDelegate() OVERRIDE; | 66 virtual ash::NewWindowDelegate* CreateNewWindowDelegate() OVERRIDE; |
67 virtual ash::MediaDelegate* CreateMediaDelegate() OVERRIDE; | 67 virtual ash::MediaDelegate* CreateMediaDelegate() OVERRIDE; |
68 virtual ui::MenuModel* CreateContextMenu( | 68 virtual ui::MenuModel* CreateContextMenu( |
69 aura::Window* root, | 69 aura::Window* root, |
70 ash::ShelfItemDelegate* item_delegate, | 70 ash::ShelfItemDelegate* item_delegate, |
71 ash::ShelfItem* item) OVERRIDE; | 71 ash::ShelfItem* item) OVERRIDE; |
72 virtual ash::WindowTreeHostFactory* CreateWindowTreeHostFactory() OVERRIDE; | 72 virtual ash::WindowTreeHostFactory* CreateWindowTreeHostFactory() OVERRIDE; |
73 virtual ash::GPUSupport* CreateGPUSupport() OVERRIDE; | 73 virtual ash::GPUSupport* CreateGPUSupport() OVERRIDE; |
74 virtual base::string16 GetProductName() const OVERRIDE; | 74 virtual base::string16 GetProductName() const OVERRIDE; |
| 75 virtual bool ShouldUseCustomizedDefaultWallpaper() const OVERRIDE; |
| 76 virtual base::FilePath GetCustomizedWallpaperDefaultRescaledSmallFileName() |
| 77 const OVERRIDE; |
| 78 virtual base::FilePath GetCustomizedWallpaperDefaultRescaledLargeFileName() |
| 79 const OVERRIDE; |
75 | 80 |
76 // content::NotificationObserver override: | 81 // content::NotificationObserver override: |
77 virtual void Observe(int type, | 82 virtual void Observe(int type, |
78 const content::NotificationSource& source, | 83 const content::NotificationSource& source, |
79 const content::NotificationDetails& details) OVERRIDE; | 84 const content::NotificationDetails& details) OVERRIDE; |
80 | 85 |
81 private: | 86 private: |
82 void PlatformInit(); | 87 void PlatformInit(); |
83 | 88 |
84 static ChromeShellDelegate* instance_; | 89 static ChromeShellDelegate* instance_; |
85 | 90 |
86 content::NotificationRegistrar registrar_; | 91 content::NotificationRegistrar registrar_; |
87 | 92 |
88 ChromeLauncherController* shelf_delegate_; | 93 ChromeLauncherController* shelf_delegate_; |
89 | 94 |
90 #if defined(OS_CHROMEOS) | 95 #if defined(OS_CHROMEOS) |
91 scoped_ptr<chromeos::DisplayConfigurationObserver> | 96 scoped_ptr<chromeos::DisplayConfigurationObserver> |
92 display_configuration_observer_; | 97 display_configuration_observer_; |
93 #endif | 98 #endif |
94 | 99 |
95 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); | 100 DISALLOW_COPY_AND_ASSIGN(ChromeShellDelegate); |
96 }; | 101 }; |
97 | 102 |
98 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ | 103 #endif // CHROME_BROWSER_UI_ASH_CHROME_SHELL_DELEGATE_H_ |
OLD | NEW |