| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 private: | 78 private: |
| 79 DISALLOW_COPY_AND_ASSIGN(MediaDelegateImpl); | 79 DISALLOW_COPY_AND_ASSIGN(MediaDelegateImpl); |
| 80 }; | 80 }; |
| 81 | 81 |
| 82 class PaletteDelegateImpl : public PaletteDelegate { | 82 class PaletteDelegateImpl : public PaletteDelegate { |
| 83 public: | 83 public: |
| 84 PaletteDelegateImpl() {} | 84 PaletteDelegateImpl() {} |
| 85 ~PaletteDelegateImpl() override {} | 85 ~PaletteDelegateImpl() override {} |
| 86 | 86 |
| 87 // PaletteDelegate: | 87 // PaletteDelegate: |
| 88 std::unique_ptr<EnableListenerSubscription> AddPaletteEnableListener( |
| 89 const EnableListener& on_state_changed) override { |
| 90 on_state_changed.Run(false); |
| 91 return nullptr; |
| 92 } |
| 88 void CreateNote() override {} | 93 void CreateNote() override {} |
| 89 bool HasNoteApp() override { return false; } | 94 bool HasNoteApp() override { return false; } |
| 90 void SetPartialMagnifierState(bool enabled) override {} | 95 void SetPartialMagnifierState(bool enabled) override {} |
| 91 void SetStylusStateChangedCallback( | 96 void SetStylusStateChangedCallback( |
| 92 const OnStylusStateChangedCallback& on_stylus_state_changed) override {} | 97 const OnStylusStateChangedCallback& on_stylus_state_changed) override {} |
| 93 bool ShouldAutoOpenPalette() override { return false; } | 98 bool ShouldAutoOpenPalette() override { return false; } |
| 94 void TakeScreenshot() override {} | 99 void TakeScreenshot() override {} |
| 95 void TakePartialScreenshot() override {} | 100 void TakePartialScreenshot() override {} |
| 96 | 101 |
| 97 private: | 102 private: |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 base::string16 ShellDelegateImpl::GetProductName() const { | 284 base::string16 ShellDelegateImpl::GetProductName() const { |
| 280 return base::string16(); | 285 return base::string16(); |
| 281 } | 286 } |
| 282 | 287 |
| 283 gfx::Image ShellDelegateImpl::GetDeprecatedAcceleratorImage() const { | 288 gfx::Image ShellDelegateImpl::GetDeprecatedAcceleratorImage() const { |
| 284 return gfx::Image(); | 289 return gfx::Image(); |
| 285 } | 290 } |
| 286 | 291 |
| 287 } // namespace shell | 292 } // namespace shell |
| 288 } // namespace ash | 293 } // namespace ash |
| OLD | NEW |