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

Side by Side Diff: ui/message_center/views/popup_alignment_delegate.cc

Issue 369573004: Separate the logic of popup alignment and workarea handling as delegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
9 namespace message_center {
10
11 PopupAlignmentDelegate::PopupAlignmentDelegate() : collection_(NULL) {}
12
13 PopupAlignmentDelegate::~PopupAlignmentDelegate() {}
14
15 void PopupAlignmentDelegate::DoUpdateIfPossible() {
16 if (collection_)
17 collection_->DoUpdateIfPossible();
18 }
19
20 } // namespace message_center
OLDNEW
« no previous file with comments | « ui/message_center/views/popup_alignment_delegate.h ('k') | ui/message_center/views/toast_contents_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698