| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 ASH_WM_CAPTION_BUTTONS_MAXIMIZE_BUBBLE_CONTROLLER_BUBBLE_H_ | 5 #ifndef ASH_WM_CAPTION_BUTTONS_MAXIMIZE_BUBBLE_CONTROLLER_BUBBLE_H_ |
| 6 #define ASH_WM_CAPTION_BUTTONS_MAXIMIZE_BUBBLE_CONTROLLER_BUBBLE_H_ | 6 #define ASH_WM_CAPTION_BUTTONS_MAXIMIZE_BUBBLE_CONTROLLER_BUBBLE_H_ |
| 7 | 7 |
| 8 #include "ash/wm/workspace/snap_types.h" | 8 #include "ash/wm/workspace/snap_types.h" |
| 9 #include "ui/views/bubble/bubble_delegate.h" | 9 #include "ui/views/bubble/bubble_delegate.h" |
| 10 #include "ui/views/mouse_watcher.h" | 10 #include "ui/views/mouse_watcher.h" |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 | 82 |
| 83 // Our owning class. | 83 // Our owning class. |
| 84 MaximizeBubbleController* owner_; | 84 MaximizeBubbleController* owner_; |
| 85 | 85 |
| 86 // The widget which contains our menu and the bubble border. | 86 // The widget which contains our menu and the bubble border. |
| 87 views::Widget* bubble_widget_; | 87 views::Widget* bubble_widget_; |
| 88 | 88 |
| 89 // The content accessor of the menu. | 89 // The content accessor of the menu. |
| 90 BubbleContentsView* contents_view_; | 90 BubbleContentsView* contents_view_; |
| 91 | 91 |
| 92 // The bubble border. | 92 // The bubble border (weak reference). |
| 93 MaximizeBubbleBorder* bubble_border_; | 93 MaximizeBubbleBorder* bubble_border_; |
| 94 | 94 |
| 95 // The rectangle before the animation starts. | 95 // The rectangle before the animation starts. |
| 96 gfx::Rect initial_position_; | 96 gfx::Rect initial_position_; |
| 97 | 97 |
| 98 // The mouse watcher which takes care of out of window hover events. | 98 // The mouse watcher which takes care of out of window hover events. |
| 99 scoped_ptr<views::MouseWatcher> mouse_watcher_; | 99 scoped_ptr<views::MouseWatcher> mouse_watcher_; |
| 100 | 100 |
| 101 // The fade delay - if 0 it will show / hide immediately. | 101 // The fade delay - if 0 it will show / hide immediately. |
| 102 const int appearance_delay_ms_; | 102 const int appearance_delay_ms_; |
| 103 | 103 |
| 104 DISALLOW_COPY_AND_ASSIGN(MaximizeBubbleControllerBubble); | 104 DISALLOW_COPY_AND_ASSIGN(MaximizeBubbleControllerBubble); |
| 105 }; | 105 }; |
| 106 | 106 |
| 107 } // namespace ash | 107 } // namespace ash |
| 108 | 108 |
| 109 #endif // ASH_WM_CAPTION_BUTTONS_MAXIMIZE_BUBBLE_CONTROLLER_BUBBLE_H_ | 109 #endif // ASH_WM_CAPTION_BUTTONS_MAXIMIZE_BUBBLE_CONTROLLER_BUBBLE_H_ |
| OLD | NEW |