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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 bool ShouldShowPalette() override { return false; } |
100 void TakeScreenshot() override {} | 100 void TakeScreenshot() override {} |
101 void TakePartialScreenshot() override {} | 101 void TakePartialScreenshot(const base::Closure& done) override {} |
oshima
2016/09/02 13:55:19
nit: you may want to just run the callback for con
jdufault
2016/09/02 19:46:31
Done.
| |
102 void CancelPartialScreenshot() override {} | |
102 | 103 |
103 private: | 104 private: |
104 DISALLOW_COPY_AND_ASSIGN(PaletteDelegateImpl); | 105 DISALLOW_COPY_AND_ASSIGN(PaletteDelegateImpl); |
105 }; | 106 }; |
106 | 107 |
107 class SessionStateDelegateImpl : public SessionStateDelegate { | 108 class SessionStateDelegateImpl : public SessionStateDelegate { |
108 public: | 109 public: |
109 SessionStateDelegateImpl() | 110 SessionStateDelegateImpl() |
110 : screen_locked_(false), user_info_(new user_manager::UserInfoImpl()) {} | 111 : screen_locked_(false), user_info_(new user_manager::UserInfoImpl()) {} |
111 | 112 |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
285 base::string16 ShellDelegateImpl::GetProductName() const { | 286 base::string16 ShellDelegateImpl::GetProductName() const { |
286 return base::string16(); | 287 return base::string16(); |
287 } | 288 } |
288 | 289 |
289 gfx::Image ShellDelegateImpl::GetDeprecatedAcceleratorImage() const { | 290 gfx::Image ShellDelegateImpl::GetDeprecatedAcceleratorImage() const { |
290 return gfx::Image(); | 291 return gfx::Image(); |
291 } | 292 } |
292 | 293 |
293 } // namespace shell | 294 } // namespace shell |
294 } // namespace ash | 295 } // namespace ash |
OLD | NEW |