Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Side by Side Diff: ash/shell/shell_delegate_impl.cc

Issue 2642723007: chromeos: Removed enable magnifier from palette delegate. (Closed)
Patch Set: Trybot. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ash/mus/bridge/wm_shell_mus.cc ('k') | chrome/browser/ui/ash/palette_delegate_chromeos.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 SetPartialMagnifierState(bool enabled) override {}
48 void SetStylusStateChangedCallback( 47 void SetStylusStateChangedCallback(
49 const OnStylusStateChangedCallback& on_stylus_state_changed) override {} 48 const OnStylusStateChangedCallback& on_stylus_state_changed) override {}
50 bool ShouldAutoOpenPalette() override { return false; } 49 bool ShouldAutoOpenPalette() override { return false; }
51 bool ShouldShowPalette() override { return false; } 50 bool ShouldShowPalette() override { return false; }
52 void TakeScreenshot() override {} 51 void TakeScreenshot() override {}
53 void TakePartialScreenshot(const base::Closure& done) override { 52 void TakePartialScreenshot(const base::Closure& done) override {
54 if (done) 53 if (done)
55 done.Run(); 54 done.Run();
56 } 55 }
57 void CancelPartialScreenshot() override {} 56 void CancelPartialScreenshot() override {}
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 return true; 213 return true;
215 } 214 }
216 215
217 void ShellDelegateImpl::SetTouchscreenEnabledInPrefs(bool enabled, 216 void ShellDelegateImpl::SetTouchscreenEnabledInPrefs(bool enabled,
218 bool use_local_state) {} 217 bool use_local_state) {}
219 218
220 void ShellDelegateImpl::UpdateTouchscreenStatusFromPrefs() {} 219 void ShellDelegateImpl::UpdateTouchscreenStatusFromPrefs() {}
221 220
222 } // namespace shell 221 } // namespace shell
223 } // namespace ash 222 } // namespace ash
OLDNEW
« no previous file with comments | « ash/mus/bridge/wm_shell_mus.cc ('k') | chrome/browser/ui/ash/palette_delegate_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698