| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_VIEWS_REPOST_FORM_WARNING_VIEW_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_REPOST_FORM_WARNING_VIEW_H_ |
| 6 #define CHROME_BROWSER_VIEWS_REPOST_FORM_WARNING_VIEW_H_ | 6 #define CHROME_BROWSER_VIEWS_REPOST_FORM_WARNING_VIEW_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/tab_contents/constrained_window.h" | 8 #include "chrome/browser/tab_contents/constrained_window.h" |
| 9 #include "chrome/common/notification_registrar.h" | 9 #include "chrome/common/notification_registrar.h" |
| 10 #include "gfx/native_widget_types.h" | 10 #include "gfx/native_widget_types.h" |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 | 41 |
| 42 // views::WindowDelegate Methods: | 42 // views::WindowDelegate Methods: |
| 43 virtual views::View* GetContentsView(); | 43 virtual views::View* GetContentsView(); |
| 44 | 44 |
| 45 private: | 45 private: |
| 46 virtual ~RepostFormWarningView(); | 46 virtual ~RepostFormWarningView(); |
| 47 | 47 |
| 48 // The message box view whose commands we handle. | 48 // The message box view whose commands we handle. |
| 49 MessageBoxView* message_box_view_; | 49 MessageBoxView* message_box_view_; |
| 50 | 50 |
| 51 RepostFormWarningController* controller_; | 51 scoped_ptr<RepostFormWarningController> controller_; |
| 52 | 52 |
| 53 DISALLOW_COPY_AND_ASSIGN(RepostFormWarningView); | 53 DISALLOW_COPY_AND_ASSIGN(RepostFormWarningView); |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 #endif // CHROME_BROWSER_VIEWS_REPOST_FORM_WARNING_VIEW_H_ | 56 #endif // CHROME_BROWSER_VIEWS_REPOST_FORM_WARNING_VIEW_H_ |
| OLD | NEW |