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_WINDOW_DIALOG_CLIENT_VIEW_H_ | 5 #ifndef UI_VIEWS_WINDOW_DIALOG_CLIENT_VIEW_H_ |
6 #define UI_VIEWS_WINDOW_DIALOG_CLIENT_VIEW_H_ | 6 #define UI_VIEWS_WINDOW_DIALOG_CLIENT_VIEW_H_ |
7 | 7 |
8 #include "base/gtest_prod_util.h" | 8 #include "base/gtest_prod_util.h" |
| 9 #include "base/macros.h" |
9 #include "ui/base/ui_base_types.h" | 10 #include "ui/base/ui_base_types.h" |
10 #include "ui/views/controls/button/button.h" | 11 #include "ui/views/controls/button/button.h" |
11 #include "ui/views/focus/focus_manager.h" | 12 #include "ui/views/focus/focus_manager.h" |
12 #include "ui/views/window/client_view.h" | 13 #include "ui/views/window/client_view.h" |
13 | 14 |
14 namespace views { | 15 namespace views { |
15 | 16 |
16 class DialogDelegate; | 17 class DialogDelegate; |
17 class LabelButton; | 18 class LabelButton; |
18 class Widget; | 19 class Widget; |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 // http://crbug.com/71940). This is used to avoid notifying the delegate | 126 // http://crbug.com/71940). This is used to avoid notifying the delegate |
126 // twice, which can have bad consequences. | 127 // twice, which can have bad consequences. |
127 bool notified_delegate_; | 128 bool notified_delegate_; |
128 | 129 |
129 DISALLOW_COPY_AND_ASSIGN(DialogClientView); | 130 DISALLOW_COPY_AND_ASSIGN(DialogClientView); |
130 }; | 131 }; |
131 | 132 |
132 } // namespace views | 133 } // namespace views |
133 | 134 |
134 #endif // UI_VIEWS_WINDOW_DIALOG_CLIENT_VIEW_H_ | 135 #endif // UI_VIEWS_WINDOW_DIALOG_CLIENT_VIEW_H_ |
OLD | NEW |