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/app_list/app_list_presenter_delegate_factory.h" | 7 #include "ash/app_list/app_list_presenter_delegate_factory.h" |
8 #include "ash/common/accessibility_delegate.h" | 8 #include "ash/common/accessibility_delegate.h" |
9 #include "ash/common/default_accessibility_delegate.h" | 9 #include "ash/common/default_accessibility_delegate.h" |
10 #include "ash/common/gpu_support_stub.h" | 10 #include "ash/common/gpu_support_stub.h" |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 const EnableListener& on_state_changed) override { | 89 const EnableListener& on_state_changed) override { |
90 on_state_changed.Run(false); | 90 on_state_changed.Run(false); |
91 return nullptr; | 91 return nullptr; |
92 } | 92 } |
93 void CreateNote() override {} | 93 void CreateNote() override {} |
94 bool HasNoteApp() override { return false; } | 94 bool HasNoteApp() override { return false; } |
95 void SetPartialMagnifierState(bool enabled) override {} | 95 void SetPartialMagnifierState(bool enabled) override {} |
96 void SetStylusStateChangedCallback( | 96 void SetStylusStateChangedCallback( |
97 const OnStylusStateChangedCallback& on_stylus_state_changed) override {} | 97 const OnStylusStateChangedCallback& on_stylus_state_changed) override {} |
98 bool ShouldAutoOpenPalette() override { return false; } | 98 bool ShouldAutoOpenPalette() override { return false; } |
| 99 bool ShouldShowPalette() override { return false; } |
99 void TakeScreenshot() override {} | 100 void TakeScreenshot() override {} |
100 void TakePartialScreenshot() override {} | 101 void TakePartialScreenshot() override {} |
101 | 102 |
102 private: | 103 private: |
103 DISALLOW_COPY_AND_ASSIGN(PaletteDelegateImpl); | 104 DISALLOW_COPY_AND_ASSIGN(PaletteDelegateImpl); |
104 }; | 105 }; |
105 | 106 |
106 class SessionStateDelegateImpl : public SessionStateDelegate { | 107 class SessionStateDelegateImpl : public SessionStateDelegate { |
107 public: | 108 public: |
108 SessionStateDelegateImpl() | 109 SessionStateDelegateImpl() |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 base::string16 ShellDelegateImpl::GetProductName() const { | 285 base::string16 ShellDelegateImpl::GetProductName() const { |
285 return base::string16(); | 286 return base::string16(); |
286 } | 287 } |
287 | 288 |
288 gfx::Image ShellDelegateImpl::GetDeprecatedAcceleratorImage() const { | 289 gfx::Image ShellDelegateImpl::GetDeprecatedAcceleratorImage() const { |
289 return gfx::Image(); | 290 return gfx::Image(); |
290 } | 291 } |
291 | 292 |
292 } // namespace shell | 293 } // namespace shell |
293 } // namespace ash | 294 } // namespace ash |
OLD | NEW |