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

Side by Side Diff: chrome/browser/ui/views/status_icons/status_tray_linux.cc

Issue 18334003: Linux status icon for Ubuntu Unity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "chrome/browser/status_icons/status_tray.h" 5 #include "chrome/browser/ui/views/status_icons/status_tray_linux.h"
6 6
7 // Status icons are not currently supported on linux/views or Aura. 7 #ifndef OS_CHROMEOS
8 #include "chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.h"
9
10 StatusTrayLinux::StatusTrayLinux() {
11 }
12
13 StatusTrayLinux::~StatusTrayLinux() {
14 }
15
16 StatusIcon* StatusTrayLinux::CreatePlatformStatusIcon() {
17 return StatusIconLinuxWrapper::CreateWrappedStatusIcon();
18 }
19
20 StatusTray* StatusTray::Create() {
21 return new StatusTrayLinux();
22 }
23 #else
8 StatusTray* StatusTray::Create() { 24 StatusTray* StatusTray::Create() {
9 return NULL; 25 return NULL;
10 } 26 }
27 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698