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

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

Issue 208273005: If customization includes default wallpaper, download and apply it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Start customization manifest fetch on EULA accepted. Never re-fetch wallpaper. Created 6 years, 9 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 (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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698