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

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

Issue 2791463002: mash: Remove ShelfDelegate; move functions to ShelfModel. (Closed)
Patch Set: Address comment. 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
« no previous file with comments | « ash/test/test_shelf_item_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
(...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;
45 void ShelfShutdown() override;
44 void OpenUrlFromArc(const GURL& url) override; 46 void OpenUrlFromArc(const GURL& url) override;
45 ShelfDelegate* CreateShelfDelegate(ShelfModel* model) override;
46 SystemTrayDelegate* CreateSystemTrayDelegate() override; 47 SystemTrayDelegate* CreateSystemTrayDelegate() override;
47 std::unique_ptr<WallpaperDelegate> CreateWallpaperDelegate() override; 48 std::unique_ptr<WallpaperDelegate> CreateWallpaperDelegate() override;
48 TestSessionStateDelegate* CreateSessionStateDelegate() override; 49 TestSessionStateDelegate* CreateSessionStateDelegate() override;
49 AccessibilityDelegate* CreateAccessibilityDelegate() override; 50 AccessibilityDelegate* CreateAccessibilityDelegate() override;
50 std::unique_ptr<PaletteDelegate> CreatePaletteDelegate() override; 51 std::unique_ptr<PaletteDelegate> CreatePaletteDelegate() override;
51 ui::MenuModel* CreateContextMenu(WmShelf* wm_shelf, 52 ui::MenuModel* CreateContextMenu(WmShelf* wm_shelf,
52 const ShelfItem* item) override; 53 const ShelfItem* item) override;
53 GPUSupport* CreateGPUSupport() override; 54 GPUSupport* CreateGPUSupport() override;
54 base::string16 GetProductName() const override; 55 base::string16 GetProductName() const override;
55 gfx::Image GetDeprecatedAcceleratorImage() const override; 56 gfx::Image GetDeprecatedAcceleratorImage() const override;
(...skipping 16 matching lines...) Expand all
72 bool touchscreen_enabled_in_local_pref_; 73 bool touchscreen_enabled_in_local_pref_;
73 std::unique_ptr<ShelfInitializer> shelf_initializer_; 74 std::unique_ptr<ShelfInitializer> shelf_initializer_;
74 75
75 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate); 76 DISALLOW_COPY_AND_ASSIGN(TestShellDelegate);
76 }; 77 };
77 78
78 } // namespace test 79 } // namespace test
79 } // namespace ash 80 } // namespace ash
80 81
81 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_ 82 #endif // ASH_TEST_TEST_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/test/test_shelf_item_delegate.cc ('k') | ash/test/test_shell_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698