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

Side by Side Diff: ash/common/system/tray/system_tray_delegate.cc

Issue 2148943002: mash: Create system tray display and rotation lock items via delegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments, add rotation lock Created 4 years, 5 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/system/tray/system_tray_delegate.h ('k') | ash/system/tray/system_tray.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/common/system/tray/system_tray_delegate.h" 5 #include "ash/common/system/tray/system_tray_delegate.h"
6 6
7 #include "ash/common/system/tray/system_tray_item.h"
8
7 namespace ash { 9 namespace ash {
8 10
9 NetworkIconInfo::NetworkIconInfo() 11 NetworkIconInfo::NetworkIconInfo()
10 : connecting(false), 12 : connecting(false),
11 connected(false), 13 connected(false),
12 tray_icon_visible(true), 14 tray_icon_visible(true),
13 is_cellular(false) {} 15 is_cellular(false) {}
14 16
15 NetworkIconInfo::~NetworkIconInfo() {} 17 NetworkIconInfo::~NetworkIconInfo() {}
16 18
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 void SystemTrayDelegate::RemoveShutdownPolicyObserver( 229 void SystemTrayDelegate::RemoveShutdownPolicyObserver(
228 ShutdownPolicyObserver* observer) {} 230 ShutdownPolicyObserver* observer) {}
229 231
230 void SystemTrayDelegate::ShouldRebootOnShutdown( 232 void SystemTrayDelegate::ShouldRebootOnShutdown(
231 const RebootOnShutdownCallback& callback) {} 233 const RebootOnShutdownCallback& callback) {}
232 234
233 VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const { 235 VPNDelegate* SystemTrayDelegate::GetVPNDelegate() const {
234 return nullptr; 236 return nullptr;
235 } 237 }
236 238
239 std::unique_ptr<SystemTrayItem> SystemTrayDelegate::CreateDisplayTrayItem(
240 SystemTray* tray) {
241 return nullptr;
242 }
243
244 std::unique_ptr<SystemTrayItem> SystemTrayDelegate::CreateRotationLockTrayItem(
245 SystemTray* tray) {
246 return nullptr;
247 }
248
237 } // namespace ash 249 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/system/tray/system_tray_delegate.h ('k') | ash/system/tray/system_tray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698