| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef UI_MESSAGE_CENTER_VIEWS_POPUP_ALIGNMENT_DELEGATE_H_ | 5 #ifndef UI_MESSAGE_CENTER_VIEWS_POPUP_ALIGNMENT_DELEGATE_H_ |
| 6 #define UI_MESSAGE_CENTER_VIEWS_POPUP_ALIGNMENT_DELEGATE_H_ | 6 #define UI_MESSAGE_CENTER_VIEWS_POPUP_ALIGNMENT_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "ui/message_center/message_center_export.h" | 8 #include "ui/message_center/message_center_export.h" |
| 9 | 9 |
| 10 namespace gfx { | 10 namespace gfx { |
| 11 class Display; | |
| 12 class Point; | 11 class Point; |
| 13 class Rect; | 12 class Rect; |
| 14 } | 13 } |
| 15 | 14 |
| 16 namespace display { | 15 namespace display { |
| 17 using Display = gfx::Display; | 16 class Display; |
| 18 } | 17 } |
| 19 | 18 |
| 20 namespace message_center { | 19 namespace message_center { |
| 21 | 20 |
| 22 class MessagePopupCollection; | 21 class MessagePopupCollection; |
| 23 | 22 |
| 24 class MESSAGE_CENTER_EXPORT PopupAlignmentDelegate { | 23 class MESSAGE_CENTER_EXPORT PopupAlignmentDelegate { |
| 25 public: | 24 public: |
| 26 PopupAlignmentDelegate(); | 25 PopupAlignmentDelegate(); |
| 27 | 26 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 56 | 55 |
| 57 void DoUpdateIfPossible(); | 56 void DoUpdateIfPossible(); |
| 58 | 57 |
| 59 private: | 58 private: |
| 60 MessagePopupCollection* collection_; | 59 MessagePopupCollection* collection_; |
| 61 }; | 60 }; |
| 62 | 61 |
| 63 } // namespace message_center | 62 } // namespace message_center |
| 64 | 63 |
| 65 #endif // UI_MESSAGE_CENTER_VIEWS_POPUP_ALIGNMENT_DELEGATE_H_ | 64 #endif // UI_MESSAGE_CENTER_VIEWS_POPUP_ALIGNMENT_DELEGATE_H_ |
| OLD | NEW |