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

Side by Side Diff: ash/system/tray/system_tray_delegate.h

Issue 9703035: Revert r126703 and r126704 since the fixes didn't stick. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « ash/system/tray/system_tray.cc ('k') | no next file » | 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 #ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 5 #ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 6 #define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "ash/system/user/login_status.h" 12 #include "ash/system/user/login_status.h"
13 #include "base/i18n/time_formatting.h" 13 #include "base/i18n/time_formatting.h"
14 #include "base/string16.h" 14 #include "base/string16.h"
15 #include "third_party/skia/include/core/SkBitmap.h" 15 #include "third_party/skia/include/core/SkBitmap.h"
16 16
17 class SkBitmap; 17 class SkBitmap;
18 18
19 namespace ash { 19 namespace ash {
20 20
21 struct NetworkIconInfo { 21 struct NetworkIconInfo {
22 NetworkIconInfo();
23 SkBitmap image; 22 SkBitmap image;
24 string16 name; 23 string16 name;
25 string16 description; 24 string16 description;
26 std::string unique_id; 25 std::string unique_id;
27 }; 26 };
28 27
29 class SystemTrayDelegate { 28 class SystemTrayDelegate {
30 public: 29 public:
31 virtual ~SystemTrayDelegate() {} 30 virtual ~SystemTrayDelegate() {}
32 31
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 // Toggles airplane mode. 91 // Toggles airplane mode.
93 virtual void ToggleAirplaneMode() = 0; 92 virtual void ToggleAirplaneMode() = 0;
94 93
95 // Shows UI for changing proxy settings. 94 // Shows UI for changing proxy settings.
96 virtual void ChangeProxySettings() = 0; 95 virtual void ChangeProxySettings() = 0;
97 }; 96 };
98 97
99 } // namespace ash 98 } // namespace ash
100 99
101 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_ 100 #endif // ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/system/tray/system_tray.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698