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

Side by Side Diff: ash/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 ASH_SHELL_DELEGATE_H_ 5 #ifndef ASH_SHELL_DELEGATE_H_
6 #define ASH_SHELL_DELEGATE_H_ 6 #define ASH_SHELL_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 126
127 // Creates a root window host factory. Shell takes ownership of the returned 127 // Creates a root window host factory. Shell takes ownership of the returned
128 // value. 128 // value.
129 virtual WindowTreeHostFactory* CreateWindowTreeHostFactory() = 0; 129 virtual WindowTreeHostFactory* CreateWindowTreeHostFactory() = 0;
130 130
131 // Creates a GPU support object. Shell takes ownership of the object. 131 // Creates a GPU support object. Shell takes ownership of the object.
132 virtual GPUSupport* CreateGPUSupport() = 0; 132 virtual GPUSupport* CreateGPUSupport() = 0;
133 133
134 // Get the product name. 134 // Get the product name.
135 virtual base::string16 GetProductName() const = 0; 135 virtual base::string16 GetProductName() const = 0;
136
137 // If device should use customized default wallpaper.
138 virtual bool ShouldUseCustomizedDefaultWallpaper() const = 0;
139
140 // Returns small scale customized wallpaper file name.
141 virtual base::FilePath GetCustomizedWallpaperDefaultRescaledSmallFileName()
142 const = 0;
143
144 // Returns large scale customized wallpaper file name.
145 virtual base::FilePath GetCustomizedWallpaperDefaultRescaledLargeFileName()
146 const = 0;
136 }; 147 };
137 148
138 } // namespace ash 149 } // namespace ash
139 150
140 #endif // ASH_SHELL_DELEGATE_H_ 151 #endif // ASH_SHELL_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698