Chromium Code Reviews| Index: ash/system/chromeos/tray_display.h |
| diff --git a/ash/system/chromeos/tray_display.h b/ash/system/chromeos/tray_display.h |
| index 7adbd31b73d621fad43c5c25191cb7df9c0d7695..2c129d1ea02b3f4fb92fe3e26e3848c57dda949c 100644 |
| --- a/ash/system/chromeos/tray_display.h |
| +++ b/ash/system/chromeos/tray_display.h |
| @@ -37,11 +37,16 @@ class ASH_EXPORT TrayDisplay : public SystemTrayItem, |
| typedef std::map<int64, DisplayInfo> DisplayInfoMap; |
| - // Checks the current display settings and determine what message should be |
| - // shown for notification. Returns true if there's a meaningful change. Note |
| - // that it's possible to return true and set |message| to empty, which means |
| - // the notification should be removed. |
| - bool GetDisplayMessageForNotification(base::string16* message); |
| + // 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); |
| + |
| + // Compares the current display settings with |old_info| and determine what |
| + // message should be shown for notification. Returns true if there's a |
| + // meaningful change. Note that it's possible to return true and set |message| |
| + // to empty, which means the notification should be removed. |
| + bool GetDisplayMessageForNotification( |
| + base::string16* message, const DisplayInfoMap& old_info); |
|
stevenjb
2013/08/12 21:52:07
one arg per line if not on the same line as the fu
Jun Mukai
2013/08/12 22:07:49
Done.
|
| // Overridden from SystemTrayItem. |
| virtual views::View* CreateDefaultView(user::LoginStatus status) OVERRIDE; |