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

Side by Side Diff: ash/shell/shell_delegate_impl.h

Issue 201573015: Introdcue AshWindowTreeHost and move ash/chrome specific code in WTH to ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
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_SHELL_SHELL_DELEGATE_IMPL_H_ 5 #ifndef ASH_SHELL_SHELL_DELEGATE_IMPL_H_
6 #define ASH_SHELL_SHELL_DELEGATE_IMPL_H_ 6 #define ASH_SHELL_SHELL_DELEGATE_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ash/shell_delegate.h" 10 #include "ash/shell_delegate.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE; 49 virtual ash::SystemTrayDelegate* CreateSystemTrayDelegate() OVERRIDE;
50 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE; 50 virtual ash::UserWallpaperDelegate* CreateUserWallpaperDelegate() OVERRIDE;
51 virtual ash::SessionStateDelegate* CreateSessionStateDelegate() OVERRIDE; 51 virtual ash::SessionStateDelegate* CreateSessionStateDelegate() OVERRIDE;
52 virtual ash::AccessibilityDelegate* CreateAccessibilityDelegate() OVERRIDE; 52 virtual ash::AccessibilityDelegate* CreateAccessibilityDelegate() OVERRIDE;
53 virtual ash::NewWindowDelegate* CreateNewWindowDelegate() OVERRIDE; 53 virtual ash::NewWindowDelegate* CreateNewWindowDelegate() OVERRIDE;
54 virtual ash::MediaDelegate* CreateMediaDelegate() OVERRIDE; 54 virtual ash::MediaDelegate* CreateMediaDelegate() OVERRIDE;
55 virtual ui::MenuModel* CreateContextMenu( 55 virtual ui::MenuModel* CreateContextMenu(
56 aura::Window* root_window, 56 aura::Window* root_window,
57 ash::ShelfItemDelegate* item_delegate, 57 ash::ShelfItemDelegate* item_delegate,
58 ash::ShelfItem* item) OVERRIDE; 58 ash::ShelfItem* item) OVERRIDE;
59 virtual WindowTreeHostFactory* CreateWindowTreeHostFactory() OVERRIDE;
60 virtual GPUSupport* CreateGPUSupport() OVERRIDE; 59 virtual GPUSupport* CreateGPUSupport() OVERRIDE;
61 virtual base::string16 GetProductName() const OVERRIDE; 60 virtual base::string16 GetProductName() const OVERRIDE;
62 61
63 private: 62 private:
64 // Used to update Launcher. Owned by main. 63 // Used to update Launcher. Owned by main.
65 WindowWatcher* watcher_; 64 WindowWatcher* watcher_;
66 65
67 ShelfDelegateImpl* shelf_delegate_; 66 ShelfDelegateImpl* shelf_delegate_;
68 content::BrowserContext* browser_context_; 67 content::BrowserContext* browser_context_;
69 68
70 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl); 69 DISALLOW_COPY_AND_ASSIGN(ShellDelegateImpl);
71 }; 70 };
72 71
73 } // namespace shell 72 } // namespace shell
74 } // namespace ash 73 } // namespace ash
75 74
76 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_ 75 #endif // ASH_SHELL_SHELL_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698