1// Copyright 2014 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#include "ui/message_center/views/popup_alignment_delegate.h" 6 7#include "ui/message_center/views/message_popup_collection.h" 8 9namespace message_center { 10 11PopupAlignmentDelegate::PopupAlignmentDelegate() : collection_(NULL) {} 12 13PopupAlignmentDelegate::~PopupAlignmentDelegate() {} 14 15void PopupAlignmentDelegate::DoUpdateIfPossible() { 16 if (collection_) 17 collection_->DoUpdateIfPossible(); 18} 19 20} // namespace message_center 21