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

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

Issue 2791463002: mash: Remove ShelfDelegate; move functions to ShelfModel. (Closed)
Patch Set: Sync and rebase; cleanup. Created 3 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
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
(...skipping 23 matching lines...) Expand all
34 ::service_manager::Connector* GetShellConnector() const override; 34 ::service_manager::Connector* GetShellConnector() const override;
35 bool IsIncognitoAllowed() const override; 35 bool IsIncognitoAllowed() const override;
36 bool IsMultiProfilesEnabled() const override; 36 bool IsMultiProfilesEnabled() const override;
37 bool IsRunningInForcedAppMode() const override; 37 bool IsRunningInForcedAppMode() const override;
38 bool CanShowWindowForUser(WmWindow* window) const override; 38 bool CanShowWindowForUser(WmWindow* window) const override;
39 bool IsForceMaximizeOnFirstRun() const override; 39 bool IsForceMaximizeOnFirstRun() const override;
40 void PreInit() override; 40 void PreInit() override;
41 void PreShutdown() override; 41 void PreShutdown() override;
42 void Exit() override; 42 void Exit() override;
43 keyboard::KeyboardUI* CreateKeyboardUI() override; 43 keyboard::KeyboardUI* CreateKeyboardUI() override;
44 void ShelfInit() override;
44 void OpenUrlFromArc(const GURL& url) override; 45 void OpenUrlFromArc(const GURL& url) override;
45 ShelfDelegate* CreateShelfDelegate(ShelfModel* model) override;
46 SystemTrayDelegate* CreateSystemTrayDelegate() override; 46 SystemTrayDelegate* CreateSystemTrayDelegate() override;
47 std::unique_ptr<WallpaperDelegate> CreateWallpaperDelegate() override; 47 std::unique_ptr<WallpaperDelegate> CreateWallpaperDelegate() override;
48 TestSessionStateDelegate* CreateSessionStateDelegate() override; 48 TestSessionStateDelegate* CreateSessionStateDelegate() override;
49 AccessibilityDelegate* CreateAccessibilityDelegate() override; 49 AccessibilityDelegate* CreateAccessibilityDelegate() override;
50 std::unique_ptr<PaletteDelegate> CreatePaletteDelegate() override; 50 std::unique_ptr<PaletteDelegate> CreatePaletteDelegate() override;
51 ui::MenuModel* CreateContextMenu(WmShelf* wm_shelf, 51 ui::MenuModel* CreateContextMenu(WmShelf* wm_shelf,
52 const ShelfItem* item) override; 52 const ShelfItem* item) override;
53 GPUSupport* CreateGPUSupport() override; 53 GPUSupport* CreateGPUSupport() override;
54 base::string16 GetProductName() const override; 54 base::string16 GetProductName() const override;
55 gfx::Image GetDeprecatedAcceleratorImage() const override; 55 gfx::Image GetDeprecatedAcceleratorImage() const override;
(...skipping 16 matching lines...) Expand all
72 bool touchscreen_enabled_in_local_pref_; 72 bool touchscreen_enabled_in_local_pref_;
73 std::unique_ptr<ShelfInitializer> shelf_initializer_; 73 std::unique_ptr<ShelfInitializer> shelf_initializer_;
74 74
75 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); 75 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate);
76 }; 76 };
77 77
78 } // namespace test 78 } // namespace test
79 } // namespace ash 79 } // namespace ash
80 80
81 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ 81 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698