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

Unified Diff: ash/system/chromeos/tray_display.h

Issue 267743010: Suppressed screen rotation notifications triggeres by the accelerometer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed MaximizeModeNotifcationBlocker to only filter notifcations from "ash.display" Created 6 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
Index: ash/system/chromeos/tray_display.h
diff --git a/ash/system/chromeos/tray_display.h b/ash/system/chromeos/tray_display.h
index fc01ba2f7c9128f6f8fe4bd86c02decba6b2807a..1e94b3841f9e0c9deb9e762eb5ecb6d4ef06d229 100644
--- a/ash/system/chromeos/tray_display.h
+++ b/ash/system/chromeos/tray_display.h
@@ -24,6 +24,9 @@ class AshTestBase;
class ASH_EXPORT TrayDisplay : public SystemTrayItem,
public DisplayController::Observer {
public:
+ // Identifier for all message center notifications.
+ static const char kNotificationId[];
+
explicit TrayDisplay(SystemTray* system_tray);
virtual ~TrayDisplay();
@@ -35,8 +38,6 @@ class ASH_EXPORT TrayDisplay : public SystemTrayItem,
typedef std::map<int64, DisplayInfo> DisplayInfoMap;
- static const char kNotificationId[];
-
// Scans the current display info and updates |display_info_|. Sets the
// previous data to |old_info| if it's not NULL.
void UpdateDisplayInfo(DisplayInfoMap* old_info);
« no previous file with comments | « no previous file | ash/wm/maximize_mode/maximize_mode_controller.h » ('j') | ash/wm/maximize_mode/maximize_mode_controller.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698