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

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

Issue 2234203002: Auto open and close the palette on an eject event. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tool-note
Patch Set: Use weak ptr 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/common/test/test_palette_delegate.cc ('k') | chrome/browser/chromeos/preferences.cc » ('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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 void SetStylusStateChangedCallback(
92 const OnStylusStateChangedCallback& on_stylus_state_changed) override {}
93 bool ShouldAutoOpenPalette() override { return false; }
91 void TakeScreenshot() override {} 94 void TakeScreenshot() override {}
92 void TakePartialScreenshot() override {} 95 void TakePartialScreenshot() override {}
93 96
94 private: 97 private:
95 DISALLOW_COPY_AND_ASSIGN(PaletteDelegateImpl); 98 DISALLOW_COPY_AND_ASSIGN(PaletteDelegateImpl);
96 }; 99 };
97 100
98 class SessionStateDelegateImpl : public SessionStateDelegate { 101 class SessionStateDelegateImpl : public SessionStateDelegate {
99 public: 102 public:
100 SessionStateDelegateImpl() 103 SessionStateDelegateImpl()
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 base::string16 ShellDelegateImpl::GetProductName() const { 279 base::string16 ShellDelegateImpl::GetProductName() const {
277 return base::string16(); 280 return base::string16();
278 } 281 }
279 282
280 gfx::Image ShellDelegateImpl::GetDeprecatedAcceleratorImage() const { 283 gfx::Image ShellDelegateImpl::GetDeprecatedAcceleratorImage() const {
281 return gfx::Image(); 284 return gfx::Image();
282 } 285 }
283 286
284 } // namespace shell 287 } // namespace shell
285 } // namespace ash 288 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/test/test_palette_delegate.cc ('k') | chrome/browser/chromeos/preferences.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698