| 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 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
| 11 #include "views/window/dialog_delegate.h" | 11 #include "ui/views/window/dialog_delegate.h" |
| 12 | 12 |
| 13 namespace views { | 13 namespace views { |
| 14 class MessageBoxView; | 14 class MessageBoxView; |
| 15 } | 15 } |
| 16 | 16 |
| 17 // A dialog box that tells the user that an update is recommended in order for | 17 // A dialog box that tells the user that an update is recommended in order for |
| 18 // the latest version to be put to use. | 18 // the latest version to be put to use. |
| 19 class UpdateRecommendedMessageBox : public views::DialogDelegate { | 19 class UpdateRecommendedMessageBox : public views::DialogDelegate { |
| 20 public: | 20 public: |
| 21 // This box is modal to |parent_window|. | 21 // This box is modal to |parent_window|. |
| (...skipping 19 matching lines...) Expand all Loading... |
| 41 private: | 41 private: |
| 42 explicit UpdateRecommendedMessageBox(gfx::NativeWindow parent_window); | 42 explicit UpdateRecommendedMessageBox(gfx::NativeWindow parent_window); |
| 43 virtual ~UpdateRecommendedMessageBox(); | 43 virtual ~UpdateRecommendedMessageBox(); |
| 44 | 44 |
| 45 views::MessageBoxView* message_box_view_; | 45 views::MessageBoxView* message_box_view_; |
| 46 | 46 |
| 47 DISALLOW_COPY_AND_ASSIGN(UpdateRecommendedMessageBox); | 47 DISALLOW_COPY_AND_ASSIGN(UpdateRecommendedMessageBox); |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 #endif // CHROME_BROWSER_UI_VIEWS_UPDATE_RECOMMENDED_MESSAGE_BOX_H_ | 50 #endif // CHROME_BROWSER_UI_VIEWS_UPDATE_RECOMMENDED_MESSAGE_BOX_H_ |
| OLD | NEW |