OLD | NEW |
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/common/accessibility_delegate.h" | 7 #include "ash/common/accessibility_delegate.h" |
8 #include "ash/common/default_accessibility_delegate.h" | 8 #include "ash/common/default_accessibility_delegate.h" |
9 #include "ash/common/gpu_support_stub.h" | 9 #include "ash/common/gpu_support_stub.h" |
10 #include "ash/common/palette_delegate.h" | 10 #include "ash/common/palette_delegate.h" |
(...skipping 27 matching lines...) Expand all Loading... |
38 | 38 |
39 // PaletteDelegate: | 39 // PaletteDelegate: |
40 std::unique_ptr<EnableListenerSubscription> AddPaletteEnableListener( | 40 std::unique_ptr<EnableListenerSubscription> AddPaletteEnableListener( |
41 const EnableListener& on_state_changed) override { | 41 const EnableListener& on_state_changed) override { |
42 on_state_changed.Run(false); | 42 on_state_changed.Run(false); |
43 return nullptr; | 43 return nullptr; |
44 } | 44 } |
45 void CreateNote() override {} | 45 void CreateNote() override {} |
46 bool HasNoteApp() override { return false; } | 46 bool HasNoteApp() override { return false; } |
47 void SetPartialMagnifierState(bool enabled) override {} | 47 void SetPartialMagnifierState(bool enabled) override {} |
48 void SetStylusStateChangedCallback( | |
49 const OnStylusStateChangedCallback& on_stylus_state_changed) override {} | |
50 bool ShouldAutoOpenPalette() override { return false; } | 48 bool ShouldAutoOpenPalette() override { return false; } |
51 bool ShouldShowPalette() override { return false; } | 49 bool ShouldShowPalette() override { return false; } |
52 void TakeScreenshot() override {} | 50 void TakeScreenshot() override {} |
53 void TakePartialScreenshot(const base::Closure& done) override { | 51 void TakePartialScreenshot(const base::Closure& done) override { |
54 if (done) | 52 if (done) |
55 done.Run(); | 53 done.Run(); |
56 } | 54 } |
57 void CancelPartialScreenshot() override {} | 55 void CancelPartialScreenshot() override {} |
58 | 56 |
59 private: | 57 private: |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 return true; | 212 return true; |
215 } | 213 } |
216 | 214 |
217 void ShellDelegateImpl::SetTouchscreenEnabledInPrefs(bool enabled, | 215 void ShellDelegateImpl::SetTouchscreenEnabledInPrefs(bool enabled, |
218 bool use_local_state) {} | 216 bool use_local_state) {} |
219 | 217 |
220 void ShellDelegateImpl::UpdateTouchscreenStatusFromPrefs() {} | 218 void ShellDelegateImpl::UpdateTouchscreenStatusFromPrefs() {} |
221 | 219 |
222 } // namespace shell | 220 } // namespace shell |
223 } // namespace ash | 221 } // namespace ash |
OLD | NEW |