Chromium Code Reviews| 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..5c6d087642d695322c83cc5ff0da8fba66f0c3fe |
| --- /dev/null |
| +++ b/ui/message_center/views/popup_alignment_delegate.cc |
| @@ -0,0 +1,19 @@ |
| +// 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) {} |
|
stevenjb
2014/07/02 21:59:23
WS
Jun Mukai
2014/07/07 18:12:36
Done.
|
| +PopupAlignmentDelegate::~PopupAlignmentDelegate() {} |
| + |
| +void PopupAlignmentDelegate::DoUpdateIfPossible() { |
| + if (collection_) |
| + collection_->DoUpdateIfPossible(); |
| +} |
| + |
| +} // namespace message_center |