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

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

Issue 2910773002: cros: CustomFrameViewAsh avatar icon from a window prop (Closed)
Patch Set: add test Created 3 years, 6 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
« no previous file with comments | « ash/test/test_session_state_delegate.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 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "ash/shell_delegate.h" 11 #include "ash/shell_delegate.h"
12 #include "ash/test/test_session_state_delegate.h"
13 #include "base/macros.h" 12 #include "base/macros.h"
14 13
15 class PrefService; 14 class PrefService;
16 15
17 namespace keyboard { 16 namespace keyboard {
18 class KeyboardUI; 17 class KeyboardUI;
19 } 18 }
20 19
21 namespace ash { 20 namespace ash {
22 namespace test { 21 namespace test {
(...skipping 22 matching lines...) Expand all
45 bool IsForceMaximizeOnFirstRun() const override; 44 bool IsForceMaximizeOnFirstRun() const override;
46 void PreInit() override; 45 void PreInit() override;
47 void PreShutdown() override; 46 void PreShutdown() override;
48 void Exit() override; 47 void Exit() override;
49 keyboard::KeyboardUI* CreateKeyboardUI() override; 48 keyboard::KeyboardUI* CreateKeyboardUI() override;
50 void ShelfInit() override; 49 void ShelfInit() override;
51 void ShelfShutdown() override; 50 void ShelfShutdown() override;
52 void OpenUrlFromArc(const GURL& url) override; 51 void OpenUrlFromArc(const GURL& url) override;
53 SystemTrayDelegate* CreateSystemTrayDelegate() override; 52 SystemTrayDelegate* CreateSystemTrayDelegate() override;
54 std::unique_ptr<WallpaperDelegate> CreateWallpaperDelegate() override; 53 std::unique_ptr<WallpaperDelegate> CreateWallpaperDelegate() override;
55 TestSessionStateDelegate* CreateSessionStateDelegate() override;
56 AccessibilityDelegate* CreateAccessibilityDelegate() override; 54 AccessibilityDelegate* CreateAccessibilityDelegate() override;
57 std::unique_ptr<PaletteDelegate> CreatePaletteDelegate() override; 55 std::unique_ptr<PaletteDelegate> CreatePaletteDelegate() override;
58 ui::MenuModel* CreateContextMenu(Shelf* shelf, 56 ui::MenuModel* CreateContextMenu(Shelf* shelf,
59 const ShelfItem* item) override; 57 const ShelfItem* item) override;
60 GPUSupport* CreateGPUSupport() override; 58 GPUSupport* CreateGPUSupport() override;
61 base::string16 GetProductName() const override; 59 base::string16 GetProductName() const override;
62 gfx::Image GetDeprecatedAcceleratorImage() const override; 60 gfx::Image GetDeprecatedAcceleratorImage() const override;
63 PrefService* GetActiveUserPrefService() const override; 61 PrefService* GetActiveUserPrefService() const override;
64 bool IsTouchscreenEnabledInPrefs(bool use_local_state) const override; 62 bool IsTouchscreenEnabledInPrefs(bool use_local_state) const override;
65 void SetTouchscreenEnabledInPrefs(bool enabled, 63 void SetTouchscreenEnabledInPrefs(bool enabled,
(...skipping 14 matching lines...) Expand all
80 std::unique_ptr<ShelfInitializer> shelf_initializer_; 78 std::unique_ptr<ShelfInitializer> shelf_initializer_;
81 PrefService* active_user_pref_service_; // Not owned. 79 PrefService* active_user_pref_service_; // Not owned.
82 80
83 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); 81 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate);
84 }; 82 };
85 83
86 } // namespace test 84 } // namespace test
87 } // namespace ash 85 } // namespace ash
88 86
89 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ 87 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/test/test_session_state_delegate.cc ('k') | ash/test/test_shell_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698