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 26 matching lines...) Expand all Loading... |
37 ~PaletteDelegateImpl() override {} | 37 ~PaletteDelegateImpl() override {} |
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 SetStylusStateChangedCallback( | |
48 const OnStylusStateChangedCallback& on_stylus_state_changed) override {} | |
49 bool ShouldAutoOpenPalette() override { return false; } | 47 bool ShouldAutoOpenPalette() override { return false; } |
50 bool ShouldShowPalette() override { return false; } | 48 bool ShouldShowPalette() override { return false; } |
51 void TakeScreenshot() override {} | 49 void TakeScreenshot() override {} |
52 void TakePartialScreenshot(const base::Closure& done) override { | 50 void TakePartialScreenshot(const base::Closure& done) override { |
53 if (done) | 51 if (done) |
54 done.Run(); | 52 done.Run(); |
55 } | 53 } |
56 void CancelPartialScreenshot() override {} | 54 void CancelPartialScreenshot() override {} |
57 | 55 |
58 private: | 56 private: |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 return true; | 211 return true; |
214 } | 212 } |
215 | 213 |
216 void ShellDelegateImpl::SetTouchscreenEnabledInPrefs(bool enabled, | 214 void ShellDelegateImpl::SetTouchscreenEnabledInPrefs(bool enabled, |
217 bool use_local_state) {} | 215 bool use_local_state) {} |
218 | 216 |
219 void ShellDelegateImpl::UpdateTouchscreenStatusFromPrefs() {} | 217 void ShellDelegateImpl::UpdateTouchscreenStatusFromPrefs() {} |
220 | 218 |
221 } // namespace shell | 219 } // namespace shell |
222 } // namespace ash | 220 } // namespace ash |
OLD | NEW |