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

Unified Diff: ash/common/system/web_notification/web_notification_tray.cc

Issue 2129253002: Multi-pod support for lock screen. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Fixed patch set 9 errors. Created 4 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 side-by-side diff with in-line comments
Download patch
Index: ash/common/system/web_notification/web_notification_tray.cc
diff --git a/ash/common/system/web_notification/web_notification_tray.cc b/ash/common/system/web_notification/web_notification_tray.cc
index 5ab3774301fdc36f86d40f0f2d24f445ea870cac..38bec83ed6e7e8ffffaee94c60c9f867c4ef9bac 100644
--- a/ash/common/system/web_notification/web_notification_tray.cc
+++ b/ash/common/system/web_notification/web_notification_tray.cc
@@ -266,6 +266,7 @@ bool WebNotificationTray::ShowMessageCenterInternal(bool show_settings) {
}
message_center_bubble->SetMaxHeight(
std::max(0, max_height - GetTrayConstant(TRAY_SPACING)));
+ LOG(ERROR) << "WEBNOTIFICATION" << show_settings;
if (show_settings)
message_center_bubble->SetSettingsVisible();
message_center_bubble_.reset(
@@ -279,6 +280,7 @@ bool WebNotificationTray::ShowMessageCenterInternal(bool show_settings) {
}
bool WebNotificationTray::ShowMessageCenter() {
+ LOG(ERROR) << "HMMM";
return ShowMessageCenterInternal(false /* show_settings */);
}
@@ -421,6 +423,7 @@ void WebNotificationTray::HideBubble(const views::TrayBubbleView* bubble_view) {
}
bool WebNotificationTray::ShowNotifierSettings() {
+ LOG(ERROR) << "TRAY" << message_center_bubble();
if (message_center_bubble()) {
static_cast<message_center::MessageCenterBubble*>(
message_center_bubble()->bubble())

Powered by Google App Engine
This is Rietveld 408576698