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

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

Issue 2235063002: Add create note palette action. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@app-runtime-changes
Patch Set: Nit 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
« no previous file with comments | « ash/common/wm_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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 MediaCaptureState GetMediaCaptureState(UserIndex index) override { 75 MediaCaptureState GetMediaCaptureState(UserIndex index) override {
76 return MEDIA_CAPTURE_VIDEO; 76 return MEDIA_CAPTURE_VIDEO;
77 } 77 }
78 78
79 private: 79 private:
80 DISALLOW_COPY_AND_ASSIGN(MediaDelegateImpl); 80 DISALLOW_COPY_AND_ASSIGN(MediaDelegateImpl);
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
88 // PaletteDelegate:
89 void CreateNote() override {}
90 bool HasNoteApp() override { return false; }
87 91
88 private: 92 private:
89 DISALLOW_COPY_AND_ASSIGN(PaletteDelegateImpl); 93 DISALLOW_COPY_AND_ASSIGN(PaletteDelegateImpl);
90 }; 94 };
91 95
92 class SessionStateDelegateImpl : public SessionStateDelegate { 96 class SessionStateDelegateImpl : public SessionStateDelegate {
93 public: 97 public:
94 SessionStateDelegateImpl() 98 SessionStateDelegateImpl()
95 : screen_locked_(false), user_info_(new user_manager::UserInfoImpl()) {} 99 : screen_locked_(false), user_info_(new user_manager::UserInfoImpl()) {}
96 100
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 base::string16 ShellDelegateImpl::GetProductName() const { 279 base::string16 ShellDelegateImpl::GetProductName() const {
276 return base::string16(); 280 return base::string16();
277 } 281 }
278 282
279 gfx::Image ShellDelegateImpl::GetDeprecatedAcceleratorImage() const { 283 gfx::Image ShellDelegateImpl::GetDeprecatedAcceleratorImage() const {
280 return gfx::Image(); 284 return gfx::Image();
281 } 285 }
282 286
283 } // namespace shell 287 } // namespace shell
284 } // namespace ash 288 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/wm_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