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

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

Issue 2824703006: Add MetalayerMode to the palette. (Closed)
Patch Set: Fixed copyright year 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/palette_delegate.h ('k') | ash/system/palette/palette_ids.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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 void CreateNote() override {} 45 void CreateNote() override {}
46 bool HasNoteApp() override { return false; } 46 bool HasNoteApp() override { return false; }
47 bool ShouldAutoOpenPalette() override { return false; } 47 bool ShouldAutoOpenPalette() override { return false; }
48 bool ShouldShowPalette() override { return false; } 48 bool ShouldShowPalette() override { return false; }
49 void TakeScreenshot() override {} 49 void TakeScreenshot() override {}
50 void TakePartialScreenshot(const base::Closure& done) override { 50 void TakePartialScreenshot(const base::Closure& done) override {
51 if (done) 51 if (done)
52 done.Run(); 52 done.Run();
53 } 53 }
54 void CancelPartialScreenshot() override {} 54 void CancelPartialScreenshot() override {}
55 bool IsMetalayerSupported() override { return false; }
56 void ShowMetalayer(const base::Closure& closed) override {}
57 void HideMetalayer() override {}
55 58
56 private: 59 private:
57 DISALLOW_COPY_AND_ASSIGN(PaletteDelegateImpl); 60 DISALLOW_COPY_AND_ASSIGN(PaletteDelegateImpl);
58 }; 61 };
59 62
60 class SessionStateDelegateImpl : public SessionStateDelegate { 63 class SessionStateDelegateImpl : public SessionStateDelegate {
61 public: 64 public:
62 SessionStateDelegateImpl() : user_info_(new user_manager::UserInfoImpl()) {} 65 SessionStateDelegateImpl() : user_info_(new user_manager::UserInfoImpl()) {}
63 66
64 ~SessionStateDelegateImpl() override {} 67 ~SessionStateDelegateImpl() override {}
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 return true; 173 return true;
171 } 174 }
172 175
173 void ShellDelegateImpl::SetTouchscreenEnabledInPrefs(bool enabled, 176 void ShellDelegateImpl::SetTouchscreenEnabledInPrefs(bool enabled,
174 bool use_local_state) {} 177 bool use_local_state) {}
175 178
176 void ShellDelegateImpl::UpdateTouchscreenStatusFromPrefs() {} 179 void ShellDelegateImpl::UpdateTouchscreenStatusFromPrefs() {}
177 180
178 } // namespace shell 181 } // namespace shell
179 } // namespace ash 182 } // namespace ash
OLDNEW
« no previous file with comments | « ash/palette_delegate.h ('k') | ash/system/palette/palette_ids.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698