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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 void CreateNote() override {} | 88 void CreateNote() override {} |
89 bool HasNoteApp() override { return false; } | 89 bool HasNoteApp() override { return false; } |
90 void SetPartialMagnifierState(bool enabled) override {} | 90 void SetPartialMagnifierState(bool enabled) override {} |
| 91 bool ShouldAutoOpenPalette() override { return false; } |
91 void TakeScreenshot() override {} | 92 void TakeScreenshot() override {} |
92 void TakePartialScreenshot() override {} | 93 void TakePartialScreenshot() override {} |
93 | 94 |
94 private: | 95 private: |
95 DISALLOW_COPY_AND_ASSIGN(PaletteDelegateImpl); | 96 DISALLOW_COPY_AND_ASSIGN(PaletteDelegateImpl); |
96 }; | 97 }; |
97 | 98 |
98 class SessionStateDelegateImpl : public SessionStateDelegate { | 99 class SessionStateDelegateImpl : public SessionStateDelegate { |
99 public: | 100 public: |
100 SessionStateDelegateImpl() | 101 SessionStateDelegateImpl() |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 base::string16 ShellDelegateImpl::GetProductName() const { | 277 base::string16 ShellDelegateImpl::GetProductName() const { |
277 return base::string16(); | 278 return base::string16(); |
278 } | 279 } |
279 | 280 |
280 gfx::Image ShellDelegateImpl::GetDeprecatedAcceleratorImage() const { | 281 gfx::Image ShellDelegateImpl::GetDeprecatedAcceleratorImage() const { |
281 return gfx::Image(); | 282 return gfx::Image(); |
282 } | 283 } |
283 | 284 |
284 } // namespace shell | 285 } // namespace shell |
285 } // namespace ash | 286 } // namespace ash |
OLD | NEW |