Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(497)

Side by Side Diff: chrome/browser/ui/views/download/download_in_progress_dialog_view.h

Issue 15060010: Remove the download in progress dialog black border. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/ui/views/download/download_in_progress_dialog_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ui/views/window/dialog_delegate.h" 10 #include "ui/views/window/dialog_delegate.h"
11 11
12 class Browser; 12 class Browser;
13 13
14 namespace views { 14 namespace views {
15 class MessageBoxView; 15 class MessageBoxView;
16 } 16 }
17 17
18 class DownloadInProgressDialogView : public views::DialogDelegate { 18 class DownloadInProgressDialogView : public views::DialogDelegate {
19 public: 19 public:
20 static void Show(Browser* browser, gfx::NativeWindow parent_window); 20 static void Show(Browser* browser, gfx::NativeWindow parent);
21 21
22 private: 22 private:
23 explicit DownloadInProgressDialogView(Browser* browser); 23 explicit DownloadInProgressDialogView(Browser* browser);
24 virtual ~DownloadInProgressDialogView(); 24 virtual ~DownloadInProgressDialogView();
25 25
26 // views::DialogDelegate: 26 // views::DialogDelegate:
27 virtual int GetDefaultDialogButton() const OVERRIDE; 27 virtual int GetDefaultDialogButton() const OVERRIDE;
28 virtual string16 GetDialogButtonLabel(ui::DialogButton button) const OVERRIDE; 28 virtual string16 GetDialogButtonLabel(ui::DialogButton button) const OVERRIDE;
29 virtual bool Cancel() OVERRIDE; 29 virtual bool Cancel() OVERRIDE;
30 virtual bool Accept() OVERRIDE; 30 virtual bool Accept() OVERRIDE;
(...skipping 12 matching lines...) Expand all
43 string16 title_text_; 43 string16 title_text_;
44 string16 ok_button_text_; 44 string16 ok_button_text_;
45 string16 cancel_button_text_; 45 string16 cancel_button_text_;
46 46
47 gfx::Size dialog_dimensions_; 47 gfx::Size dialog_dimensions_;
48 48
49 DISALLOW_COPY_AND_ASSIGN(DownloadInProgressDialogView); 49 DISALLOW_COPY_AND_ASSIGN(DownloadInProgressDialogView);
50 }; 50 };
51 51
52 #endif // CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_IN_PROGRESS_DIALOG_VIEW_H_ 52 #endif // CHROME_BROWSER_UI_VIEWS_DOWNLOAD_DOWNLOAD_IN_PROGRESS_DIALOG_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/download/download_in_progress_dialog_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698