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

Unified Diff: ash/system/tray/system_tray_delegate.h

Issue 2888983003: chromeos: Remove ash::SystemTrayDelegate::CreateTrayRotationLock (Closed)
Patch Set: Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/system/tray/system_tray.cc ('k') | ash/system/tray/system_tray_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray_delegate.h
diff --git a/ash/system/tray/system_tray_delegate.h b/ash/system/tray/system_tray_delegate.h
index c0c5b0bfe94b7a05947834180e02f15775eff0f4..864cc6b6cac44fb4263783a79fc95b2f80c54d7d 100644
--- a/ash/system/tray/system_tray_delegate.h
+++ b/ash/system/tray/system_tray_delegate.h
@@ -5,13 +5,10 @@
#ifndef ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
#define ASH_SYSTEM_TRAY_SYSTEM_TRAY_DELEGATE_H_
-#include <memory>
#include <string>
#include <vector>
#include "ash/ash_export.h"
-#include "base/callback_forward.h"
-#include "base/files/file_path.h"
#include "base/i18n/time_formatting.h"
#include "base/strings/string16.h"
@@ -24,9 +21,6 @@ namespace ash {
struct IMEInfo;
struct IMEPropertyInfo;
-class SystemTray;
-class SystemTrayItem;
-
using IMEInfoList = std::vector<IMEInfo>;
using IMEPropertyInfoList = std::vector<IMEPropertyInfo>;
@@ -84,12 +78,6 @@ class ASH_EXPORT SystemTrayDelegate {
// Returns true when the Search key is configured to be treated as Caps Lock.
virtual bool IsSearchKeyMappedToCapsLock();
-
- // Creates a system tray item for display rotation lock.
- // TODO(jamescook): Remove this when mus has support for display management
- // and we have a DisplayManager equivalent. See http://crbug.com/548429
- virtual std::unique_ptr<SystemTrayItem> CreateRotationLockTrayItem(
- SystemTray* tray);
};
} // namespace ash
« no previous file with comments | « ash/system/tray/system_tray.cc ('k') | ash/system/tray/system_tray_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698