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

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

Issue 2899253002: chromeos: Rename ash::WmShelf to Shelf (Closed)
Patch Set: rebase Created 3 years, 7 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/shell/shell_delegate_impl.h ('k') | ash/shell_delegate.h » ('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 #include "ash/shell/shell_delegate_impl.h" 5 #include "ash/shell/shell_delegate_impl.h"
6 6
7 #include "ash/accessibility_delegate.h" 7 #include "ash/accessibility_delegate.h"
8 #include "ash/default_accessibility_delegate.h" 8 #include "ash/default_accessibility_delegate.h"
9 #include "ash/default_wallpaper_delegate.h" 9 #include "ash/default_wallpaper_delegate.h"
10 #include "ash/gpu_support_stub.h" 10 #include "ash/gpu_support_stub.h"
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 } 142 }
143 143
144 AccessibilityDelegate* ShellDelegateImpl::CreateAccessibilityDelegate() { 144 AccessibilityDelegate* ShellDelegateImpl::CreateAccessibilityDelegate() {
145 return new DefaultAccessibilityDelegate; 145 return new DefaultAccessibilityDelegate;
146 } 146 }
147 147
148 std::unique_ptr<PaletteDelegate> ShellDelegateImpl::CreatePaletteDelegate() { 148 std::unique_ptr<PaletteDelegate> ShellDelegateImpl::CreatePaletteDelegate() {
149 return base::MakeUnique<PaletteDelegateImpl>(); 149 return base::MakeUnique<PaletteDelegateImpl>();
150 } 150 }
151 151
152 ui::MenuModel* ShellDelegateImpl::CreateContextMenu(WmShelf* wm_shelf, 152 ui::MenuModel* ShellDelegateImpl::CreateContextMenu(Shelf* shelf,
153 const ShelfItem* item) { 153 const ShelfItem* item) {
154 return new ContextMenu(wm_shelf); 154 return new ContextMenu(shelf);
155 } 155 }
156 156
157 GPUSupport* ShellDelegateImpl::CreateGPUSupport() { 157 GPUSupport* ShellDelegateImpl::CreateGPUSupport() {
158 // Real GPU support depends on src/content, so just use a stub. 158 // Real GPU support depends on src/content, so just use a stub.
159 return new GPUSupportStub; 159 return new GPUSupportStub;
160 } 160 }
161 161
162 base::string16 ShellDelegateImpl::GetProductName() const { 162 base::string16 ShellDelegateImpl::GetProductName() const {
163 return base::string16(); 163 return base::string16();
164 } 164 }
(...skipping 11 matching lines...) Expand all
176 return true; 176 return true;
177 } 177 }
178 178
179 void ShellDelegateImpl::SetTouchscreenEnabledInPrefs(bool enabled, 179 void ShellDelegateImpl::SetTouchscreenEnabledInPrefs(bool enabled,
180 bool use_local_state) {} 180 bool use_local_state) {}
181 181
182 void ShellDelegateImpl::UpdateTouchscreenStatusFromPrefs() {} 182 void ShellDelegateImpl::UpdateTouchscreenStatusFromPrefs() {}
183 183
184 } // namespace shell 184 } // namespace shell
185 } // namespace ash 185 } // namespace ash
OLDNEW
« no previous file with comments | « ash/shell/shell_delegate_impl.h ('k') | ash/shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698