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 CHROME_BROWSER_UI_VIEWS_UPDATE_RECOMMENDED_MESSAGE_BOX_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_UPDATE_RECOMMENDED_MESSAGE_BOX_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_UPDATE_RECOMMENDED_MESSAGE_BOX_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_UPDATE_RECOMMENDED_MESSAGE_BOX_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
9 #include "ui/gfx/native_widget_types.h" | 9 #include "ui/gfx/native_widget_types.h" |
10 #include "ui/views/window/dialog_delegate.h" | 10 #include "ui/views/window/dialog_delegate.h" |
11 | 11 |
12 namespace views { | 12 namespace views { |
13 class MessageBoxView; | 13 class MessageBoxView; |
14 } | 14 } |
15 | 15 |
16 // A dialog box that tells the user that an update is recommended in order for | 16 // A dialog box that tells the user that an update is recommended in order for |
17 // the latest version to be put to use. | 17 // the latest version to be put to use. |
18 class UpdateRecommendedMessageBox : public views::DialogDelegate { | 18 class UpdateRecommendedMessageBox : public views::DialogDelegate { |
(...skipping 16 matching lines...) Expand all Loading... |
35 views::View* GetContentsView() override; | 35 views::View* GetContentsView() override; |
36 views::Widget* GetWidget() override; | 36 views::Widget* GetWidget() override; |
37 const views::Widget* GetWidget() const override; | 37 const views::Widget* GetWidget() const override; |
38 | 38 |
39 views::MessageBoxView* message_box_view_; | 39 views::MessageBoxView* message_box_view_; |
40 | 40 |
41 DISALLOW_COPY_AND_ASSIGN(UpdateRecommendedMessageBox); | 41 DISALLOW_COPY_AND_ASSIGN(UpdateRecommendedMessageBox); |
42 }; | 42 }; |
43 | 43 |
44 #endif // CHROME_BROWSER_UI_VIEWS_UPDATE_RECOMMENDED_MESSAGE_BOX_H_ | 44 #endif // CHROME_BROWSER_UI_VIEWS_UPDATE_RECOMMENDED_MESSAGE_BOX_H_ |
OLD | NEW |