| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_VIEWS_BUBBLE_TRAY_BUBBLE_VIEW_H_ | 5 #ifndef UI_VIEWS_BUBBLE_TRAY_BUBBLE_VIEW_H_ |
| 6 #define UI_VIEWS_BUBBLE_TRAY_BUBBLE_VIEW_H_ | 6 #define UI_VIEWS_BUBBLE_TRAY_BUBBLE_VIEW_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 9 #include "ui/views/bubble/bubble_delegate.h" | 10 #include "ui/views/bubble/bubble_delegate.h" |
| 10 #include "ui/views/mouse_watcher.h" | 11 #include "ui/views/mouse_watcher.h" |
| 11 #include "ui/views/views_export.h" | 12 #include "ui/views/views_export.h" |
| 12 | 13 |
| 13 // Specialized bubble view for bubbles associated with a tray icon (e.g. the | 14 // Specialized bubble view for bubbles associated with a tray icon (e.g. the |
| 14 // Ash status area). Mostly this handles custom anchor location and arrow and | 15 // Ash status area). Mostly this handles custom anchor location and arrow and |
| 15 // border rendering. This also has its own delegate for handling mouse events | 16 // border rendering. This also has its own delegate for handling mouse events |
| 16 // and other implementation specific details. | 17 // and other implementation specific details. |
| 17 | 18 |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 | 196 |
| 196 // Used to find any mouse movements. | 197 // Used to find any mouse movements. |
| 197 scoped_ptr<MouseWatcher> mouse_watcher_; | 198 scoped_ptr<MouseWatcher> mouse_watcher_; |
| 198 | 199 |
| 199 DISALLOW_COPY_AND_ASSIGN(TrayBubbleView); | 200 DISALLOW_COPY_AND_ASSIGN(TrayBubbleView); |
| 200 }; | 201 }; |
| 201 | 202 |
| 202 } // namespace views | 203 } // namespace views |
| 203 | 204 |
| 204 #endif // UI_VIEWS_BUBBLE_TRAY_BUBBLE_VIEW_H_ | 205 #endif // UI_VIEWS_BUBBLE_TRAY_BUBBLE_VIEW_H_ |
| OLD | NEW |