| 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_DOWNLOAD_DOWNLOAD_IN_PROGRESS_DIALOG_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_IN_PROGRESS_DIALOG_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_IN_PROGRESS_DIALOG_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_IN_PROGRESS_DIALOG_VIEW_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | |
| 9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
| 10 #include "chrome/browser/ui/browser.h" | 10 #include "chrome/browser/ui/browser.h" |
| 11 #include "ui/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 class DownloadInProgressDialogView : public views::DialogDelegate { | 17 class DownloadInProgressDialogView : public views::DialogDelegate { |
| 18 public: | 18 public: |
| 19 static void Show(gfx::NativeWindow parent_window, | 19 static void Show(gfx::NativeWindow parent_window, |
| (...skipping 30 matching lines...) Expand all Loading... |
| 50 base::string16 title_text_; | 50 base::string16 title_text_; |
| 51 base::string16 ok_button_text_; | 51 base::string16 ok_button_text_; |
| 52 base::string16 cancel_button_text_; | 52 base::string16 cancel_button_text_; |
| 53 | 53 |
| 54 gfx::Size dialog_dimensions_; | 54 gfx::Size dialog_dimensions_; |
| 55 | 55 |
| 56 DISALLOW_COPY_AND_ASSIGN(DownloadInProgressDialogView); | 56 DISALLOW_COPY_AND_ASSIGN(DownloadInProgressDialogView); |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 #endif // CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_IN_PROGRESS_DIALOG_VIEW_H_ | 59 #endif // CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_IN_PROGRESS_DIALOG_VIEW_H_ |
| OLD | NEW |