Index: ui/message_center/views/popup_alignment_delegate.cc |
diff --git a/ui/message_center/views/popup_alignment_delegate.cc b/ui/message_center/views/popup_alignment_delegate.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9563637705710de1d2e10c520404d930ccf9c21c |
--- /dev/null |
+++ b/ui/message_center/views/popup_alignment_delegate.cc |
@@ -0,0 +1,20 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "ui/message_center/views/popup_alignment_delegate.h" |
+ |
+#include "ui/message_center/views/message_popup_collection.h" |
+ |
+namespace message_center { |
+ |
+PopupAlignmentDelegate::PopupAlignmentDelegate() : collection_(NULL) {} |
+ |
+PopupAlignmentDelegate::~PopupAlignmentDelegate() {} |
+ |
+void PopupAlignmentDelegate::DoUpdateIfPossible() { |
+ if (collection_) |
+ collection_->DoUpdateIfPossible(); |
+} |
+ |
+} // namespace message_center |