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

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

Issue 454583002: Cleanup: Remove unneeded #includes for grit/, ui/base/l10n/l10n_util.h and ui/base/resource/resourc… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Cros some more Created 6 years, 4 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
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 #include "chrome/browser/ui/views/download/download_in_progress_dialog_view.h" 5 #include "chrome/browser/ui/views/download/download_in_progress_dialog_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "chrome/browser/ui/views/constrained_window_views.h" 10 #include "chrome/browser/ui/views/constrained_window_views.h"
11 #include "grit/chromium_strings.h" 11 #include "grit/chromium_strings.h"
12 #include "grit/generated_resources.h" 12 #include "grit/generated_resources.h"
13 #include "grit/locale_settings.h" 13 #include "grit/locale_settings.h"
14 #include "ui/base/l10n/l10n_util.h" 14 #include "ui/base/l10n/l10n_util.h"
15 #include "ui/base/resource/resource_bundle.h"
16 #include "ui/gfx/size.h" 15 #include "ui/gfx/size.h"
17 #include "ui/views/border.h" 16 #include "ui/views/border.h"
18 #include "ui/views/controls/message_box_view.h" 17 #include "ui/views/controls/message_box_view.h"
19 #include "ui/views/layout/grid_layout.h" 18 #include "ui/views/layout/grid_layout.h"
20 #include "ui/views/widget/widget.h" 19 #include "ui/views/widget/widget.h"
21 20
22 // static 21 // static
23 void DownloadInProgressDialogView::Show( 22 void DownloadInProgressDialogView::Show(
24 gfx::NativeWindow parent, 23 gfx::NativeWindow parent,
25 int download_count, 24 int download_count,
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 return message_box_view_->GetWidget(); 121 return message_box_view_->GetWidget();
123 } 122 }
124 123
125 const views::Widget* DownloadInProgressDialogView::GetWidget() const { 124 const views::Widget* DownloadInProgressDialogView::GetWidget() const {
126 return message_box_view_->GetWidget(); 125 return message_box_view_->GetWidget();
127 } 126 }
128 127
129 views::View* DownloadInProgressDialogView::GetContentsView() { 128 views::View* DownloadInProgressDialogView::GetContentsView() {
130 return message_box_view_; 129 return message_box_view_;
131 } 130 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698