OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BUBBLE_DELEGATE_H_ | 5 #ifndef UI_VIEWS_BUBBLE_BUBBLE_DELEGATE_H_ |
6 #define UI_VIEWS_BUBBLE_BUBBLE_DELEGATE_H_ | 6 #define UI_VIEWS_BUBBLE_BUBBLE_DELEGATE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.h" |
10 #include "ui/base/animation/animation_delegate.h" | 10 #include "ui/base/animation/animation_delegate.h" |
11 #include "ui/views/bubble/bubble_border.h" | 11 #include "ui/views/bubble/bubble_border.h" |
12 #include "views/widget/widget.h" | 12 #include "ui/views/widget/widget.h" |
13 #include "views/widget/widget_delegate.h" | 13 #include "ui/views/widget/widget_delegate.h" |
14 | 14 |
15 namespace ui { | 15 namespace ui { |
16 class SlideAnimation; | 16 class SlideAnimation; |
17 } // namespace ui | 17 } // namespace ui |
18 | 18 |
19 namespace views { | 19 namespace views { |
20 | 20 |
21 class BubbleFrameView; | 21 class BubbleFrameView; |
22 | 22 |
23 // BubbleDelegateView creates frame and client views for bubble Widgets. | 23 // BubbleDelegateView creates frame and client views for bubble Widgets. |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 // Create a popup window for focusless bubbles on Linux/ChromeOS. | 145 // Create a popup window for focusless bubbles on Linux/ChromeOS. |
146 // These bubbles are not interactive and should not gain focus. | 146 // These bubbles are not interactive and should not gain focus. |
147 bool use_focusless_; | 147 bool use_focusless_; |
148 | 148 |
149 DISALLOW_COPY_AND_ASSIGN(BubbleDelegateView); | 149 DISALLOW_COPY_AND_ASSIGN(BubbleDelegateView); |
150 }; | 150 }; |
151 | 151 |
152 } // namespace views | 152 } // namespace views |
153 | 153 |
154 #endif // UI_VIEWS_BUBBLE_BUBBLE_DELEGATE_H_ | 154 #endif // UI_VIEWS_BUBBLE_BUBBLE_DELEGATE_H_ |
OLD | NEW |