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

Side by Side Diff: ash/test/test_user_wallpaper_delegate.h

Issue 24499002: Reload wallpaper when display configuration changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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
« no previous file with comments | « ash/test/test_shell_delegate.cc ('k') | ash/test/test_user_wallpaper_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ASH_TEST_TEST_USER_WALLPAPER_DELEGATE_H_
6 #define ASH_TEST_TEST_USER_WALLPAPER_DELEGATE_H_
7
8 #include "ash/default_user_wallpaper_delegate.h"
9
10 namespace ash {
11 namespace test {
12
13 class TestUserWallpaperDelegate : public DefaultUserWallpaperDelegate {
14 public:
15 TestUserWallpaperDelegate() : update_wallpaper_count_(0) {}
16 virtual ~TestUserWallpaperDelegate() {}
17
18 // DefaultUserWallpaperDelegate overrides:
19 virtual void UpdateWallpaper() OVERRIDE;
20
21 int GetUpdateWallpaperCountAndReset();
22
23 private:
24 int update_wallpaper_count_;
25
26 DISALLOW_COPY_AND_ASSIGN(TestUserWallpaperDelegate);
27 };
28
29 } // namespace test
30 } // namespace ash
31
32 #endif // ASH_TEST_TEST_USER_WALLPAPER_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/test/test_shell_delegate.cc ('k') | ash/test/test_user_wallpaper_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698