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

Side by Side Diff: views/controls/message_box_view.cc

Issue 113612: Make views/ use strings from app_strings. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | « views/controls/menu/chrome_menu.cc ('k') | views/controls/scrollbar/bitmap_scroll_bar.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) 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 #include "views/controls/message_box_view.h" 5 #include "views/controls/message_box_view.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "app/message_box_flags.h" 8 #include "app/message_box_flags.h"
9 #include "base/clipboard.h" 9 #include "base/clipboard.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "base/scoped_clipboard_writer.h" 11 #include "base/scoped_clipboard_writer.h"
12 #include "base/string_util.h" 12 #include "base/string_util.h"
13 #include "grit/generated_resources.h"
14 #include "views/controls/button/checkbox.h" 13 #include "views/controls/button/checkbox.h"
15 #include "views/standard_layout.h" 14 #include "views/standard_layout.h"
16 #include "views/views_delegate.h" 15 #include "views/views_delegate.h"
17 #include "views/window/client_view.h" 16 #include "views/window/client_view.h"
18 17
19 static const int kDefaultMessageWidth = 320; 18 static const int kDefaultMessageWidth = 320;
20 19
21 /////////////////////////////////////////////////////////////////////////////// 20 ///////////////////////////////////////////////////////////////////////////////
22 // MessageBoxView, public: 21 // MessageBoxView, public:
23 22
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 } 202 }
204 203
205 if (checkbox_) { 204 if (checkbox_) {
206 layout->AddPaddingRow(0, kRelatedControlVerticalSpacing); 205 layout->AddPaddingRow(0, kRelatedControlVerticalSpacing);
207 layout->StartRow(0, checkbox_column_view_set_id); 206 layout->StartRow(0, checkbox_column_view_set_id);
208 layout->AddView(checkbox_); 207 layout->AddView(checkbox_);
209 } 208 }
210 209
211 layout->AddPaddingRow(0, kRelatedControlVerticalSpacing); 210 layout->AddPaddingRow(0, kRelatedControlVerticalSpacing);
212 } 211 }
OLDNEW
« no previous file with comments | « views/controls/menu/chrome_menu.cc ('k') | views/controls/scrollbar/bitmap_scroll_bar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698