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

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: Initial upload Created 4 years, 4 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
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 82
83 class PaletteDelegateImpl : public PaletteDelegate { 83 class PaletteDelegateImpl : public PaletteDelegate {
84 public: 84 public:
85 PaletteDelegateImpl() {} 85 PaletteDelegateImpl() {}
86 ~PaletteDelegateImpl() override {} 86 ~PaletteDelegateImpl() override {}
87 87
88 // PaletteDelegate: 88 // PaletteDelegate:
89 void CreateNote() override {} 89 void CreateNote() override {}
90 bool HasNoteApp() override { return false; } 90 bool HasNoteApp() override { return false; }
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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 base::string16 ShellDelegateImpl::GetProductName() const { 282 base::string16 ShellDelegateImpl::GetProductName() const {
282 return base::string16(); 283 return base::string16();
283 } 284 }
284 285
285 gfx::Image ShellDelegateImpl::GetDeprecatedAcceleratorImage() const { 286 gfx::Image ShellDelegateImpl::GetDeprecatedAcceleratorImage() const {
286 return gfx::Image(); 287 return gfx::Image();
287 } 288 }
288 289
289 } // namespace shell 290 } // namespace shell
290 } // namespace ash 291 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698