| 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_REPOST_FORM_WARNING_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_REPOST_FORM_WARNING_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_REPOST_FORM_WARNING_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_REPOST_FORM_WARNING_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "ui/gfx/native_widget_types.h" | 9 #include "ui/gfx/native_widget_types.h" |
| 10 #include "views/window/dialog_delegate.h" | 10 #include "views/window/dialog_delegate.h" |
| 11 | 11 |
| 12 class ConstrainedWindow; | |
| 13 class NavigationController; | |
| 14 class RepostFormWarningController; | 12 class RepostFormWarningController; |
| 15 class TabContents; | 13 class TabContents; |
| 16 | 14 |
| 17 namespace views { | 15 namespace views { |
| 18 class MessageBoxView; | 16 class MessageBoxView; |
| 19 } | 17 } |
| 20 | 18 |
| 21 // Displays a dialog that warns the user that they are about to resubmit | 19 // Displays a dialog that warns the user that they are about to resubmit |
| 22 // a form. | 20 // a form. |
| 23 // To display the dialog, allocate this object on the heap. It will open the | 21 // To display the dialog, allocate this object on the heap. It will open the |
| (...skipping 22 matching lines...) Expand all Loading... |
| 46 | 44 |
| 47 scoped_ptr<RepostFormWarningController> controller_; | 45 scoped_ptr<RepostFormWarningController> controller_; |
| 48 | 46 |
| 49 // The message box view whose commands we handle. | 47 // The message box view whose commands we handle. |
| 50 views::MessageBoxView* message_box_view_; | 48 views::MessageBoxView* message_box_view_; |
| 51 | 49 |
| 52 DISALLOW_COPY_AND_ASSIGN(RepostFormWarningView); | 50 DISALLOW_COPY_AND_ASSIGN(RepostFormWarningView); |
| 53 }; | 51 }; |
| 54 | 52 |
| 55 #endif // CHROME_BROWSER_UI_VIEWS_REPOST_FORM_WARNING_VIEW_H_ | 53 #endif // CHROME_BROWSER_UI_VIEWS_REPOST_FORM_WARNING_VIEW_H_ |
| OLD | NEW |