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

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

Issue 10056001: chromeos: Remove old status-area related code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 8 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/status_area/status_area_view.cc ('k') | ash/test/test_shell_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
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_TEST_TEST_SHELL_DELEGATE_H_ 5 #ifndef ASH_TEST_TEST_SHELL_DELEGATE_H_
6 #define ASH_TEST_TEST_SHELL_DELEGATE_H_ 6 #define ASH_TEST_TEST_SHELL_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ash/shell_delegate.h" 9 #include "ash/shell_delegate.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 11
12 namespace ash { 12 namespace ash {
13 namespace test { 13 namespace test {
14 14
15 class TestShellDelegate : public ShellDelegate { 15 class TestShellDelegate : public ShellDelegate {
16 public: 16 public:
17 TestShellDelegate(); 17 TestShellDelegate();
18 virtual ~TestShellDelegate(); 18 virtual ~TestShellDelegate();
19 19
20 // Overridden from ShellDelegate: 20 // Overridden from ShellDelegate:
21 virtual views::Widget* CreateStatusArea() OVERRIDE;
22 virtual bool IsUserLoggedIn() OVERRIDE; 21 virtual bool IsUserLoggedIn() OVERRIDE;
23 virtual void LockScreen() OVERRIDE; 22 virtual void LockScreen() OVERRIDE;
24 virtual void UnlockScreen() OVERRIDE; 23 virtual void UnlockScreen() OVERRIDE;
25 virtual bool IsScreenLocked() const OVERRIDE; 24 virtual bool IsScreenLocked() const OVERRIDE;
26 virtual void Exit() OVERRIDE; 25 virtual void Exit() OVERRIDE;
27 virtual void NewWindow(bool incognito) OVERRIDE; 26 virtual void NewWindow(bool incognito) OVERRIDE;
28 virtual AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE; 27 virtual AppListViewDelegate* CreateAppListViewDelegate() OVERRIDE;
29 virtual void StartPartialScreenshot( 28 virtual void StartPartialScreenshot(
30 ScreenshotDelegate* screenshot_delegate) OVERRIDE; 29 ScreenshotDelegate* screenshot_delegate) OVERRIDE;
31 virtual LauncherDelegate* CreateLauncherDelegate( 30 virtual LauncherDelegate* CreateLauncherDelegate(
32 ash::LauncherModel* model) OVERRIDE; 31 ash::LauncherModel* model) OVERRIDE;
33 virtual SystemTrayDelegate* CreateSystemTrayDelegate(SystemTray* t) OVERRIDE; 32 virtual SystemTrayDelegate* CreateSystemTrayDelegate(SystemTray* t) OVERRIDE;
34 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; 33 virtual UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE;
35 34
36 private: 35 private:
37 bool locked_; 36 bool locked_;
38 37
39 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); 38 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate);
40 }; 39 };
41 40
42 } // namespace test 41 } // namespace test
43 } // namespace ash 42 } // namespace ash
44 43
45 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ 44 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/status_area/status_area_view.cc ('k') | ash/test/test_shell_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698