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

Unified Diff: ui/message_center/views/desktop_popup_alignment_delegate.cc

Issue 2519993002: Move kInvalidDisplayID to display_constants.h. (Closed)
Patch Set: Address comments. Created 4 years, 1 month 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 | « ui/events/gesture_detection/gesture_provider.cc ('k') | ui/ozone/platform/drm/host/drm_window_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/views/desktop_popup_alignment_delegate.cc
diff --git a/ui/message_center/views/desktop_popup_alignment_delegate.cc b/ui/message_center/views/desktop_popup_alignment_delegate.cc
index 1c32a1eb1e22e69208aebd3f92141faf861d5592..d6e7ff8f131df535bb73f9c5329da4ce29663430 100644
--- a/ui/message_center/views/desktop_popup_alignment_delegate.cc
+++ b/ui/message_center/views/desktop_popup_alignment_delegate.cc
@@ -14,7 +14,7 @@ namespace message_center {
DesktopPopupAlignmentDelegate::DesktopPopupAlignmentDelegate()
: alignment_(POPUP_ALIGNMENT_BOTTOM | POPUP_ALIGNMENT_RIGHT),
- primary_display_id_(display::Display::kInvalidDisplayID),
+ primary_display_id_(display::kInvalidDisplayId),
screen_(NULL) {}
DesktopPopupAlignmentDelegate::~DesktopPopupAlignmentDelegate() {
@@ -119,9 +119,9 @@ void DesktopPopupAlignmentDelegate::OnDisplayRemoved(
void DesktopPopupAlignmentDelegate::OnDisplayMetricsChanged(
const display::Display& display,
uint32_t metrics) {
- // Set to kInvalidDisplayID so the alignment is updated regardless of whether
+ // Set to kInvalidDisplayId so the alignment is updated regardless of whether
// the primary display actually changed.
- primary_display_id_ = display::Display::kInvalidDisplayID;
+ primary_display_id_ = display::kInvalidDisplayId;
UpdatePrimaryDisplay();
}
« no previous file with comments | « ui/events/gesture_detection/gesture_provider.cc ('k') | ui/ozone/platform/drm/host/drm_window_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698