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

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

Issue 2361563002: chromeos: Laser tool blocks events from propagating. (Closed)
Patch Set: Created 4 years, 3 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/shell.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/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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 ~PaletteDelegateImpl() override {} 85 ~PaletteDelegateImpl() override {}
86 86
87 // PaletteDelegate: 87 // PaletteDelegate:
88 std::unique_ptr<EnableListenerSubscription> AddPaletteEnableListener( 88 std::unique_ptr<EnableListenerSubscription> AddPaletteEnableListener(
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 OnLaserPointerEnabled() override {}
96 void OnLaserPointerDisabled() override {}
97 void SetPartialMagnifierState(bool enabled) override {} 95 void SetPartialMagnifierState(bool enabled) override {}
98 void SetStylusStateChangedCallback( 96 void SetStylusStateChangedCallback(
99 const OnStylusStateChangedCallback& on_stylus_state_changed) override {} 97 const OnStylusStateChangedCallback& on_stylus_state_changed) override {}
100 bool ShouldAutoOpenPalette() override { return false; } 98 bool ShouldAutoOpenPalette() override { return false; }
101 bool ShouldShowPalette() override { return false; } 99 bool ShouldShowPalette() override { return false; }
102 void TakeScreenshot() override {} 100 void TakeScreenshot() override {}
103 void TakePartialScreenshot(const base::Closure& done) override { 101 void TakePartialScreenshot(const base::Closure& done) override {
104 if (done) 102 if (done)
105 done.Run(); 103 done.Run();
106 } 104 }
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 base::string16 ShellDelegateImpl::GetProductName() const { 289 base::string16 ShellDelegateImpl::GetProductName() const {
292 return base::string16(); 290 return base::string16();
293 } 291 }
294 292
295 gfx::Image ShellDelegateImpl::GetDeprecatedAcceleratorImage() const { 293 gfx::Image ShellDelegateImpl::GetDeprecatedAcceleratorImage() const {
296 return gfx::Image(); 294 return gfx::Image();
297 } 295 }
298 296
299 } // namespace shell 297 } // namespace shell
300 } // namespace ash 298 } // namespace ash
OLDNEW
« no previous file with comments | « ash/shell.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