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

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

Issue 109043: Move l10n_util to app/ (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 | « chrome/views/controls/menu/menu.cc ('k') | chrome/views/controls/native_control.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 "chrome/views/controls/message_box_view.h" 5 #include "chrome/views/controls/message_box_view.h"
6 6
7 #include "app/l10n_util.h"
7 #include "base/clipboard.h" 8 #include "base/clipboard.h"
8 #include "base/message_loop.h" 9 #include "base/message_loop.h"
9 #include "base/scoped_clipboard_writer.h" 10 #include "base/scoped_clipboard_writer.h"
10 #include "base/string_util.h" 11 #include "base/string_util.h"
11 #include "chrome/browser/browser_process.h" 12 #include "chrome/browser/browser_process.h"
12 #include "chrome/browser/views/standard_layout.h" 13 #include "chrome/browser/views/standard_layout.h"
13 #include "chrome/common/l10n_util.h"
14 #include "chrome/common/message_box_flags.h" 14 #include "chrome/common/message_box_flags.h"
15 #include "chrome/views/controls/button/checkbox.h" 15 #include "chrome/views/controls/button/checkbox.h"
16 #include "chrome/views/window/client_view.h" 16 #include "chrome/views/window/client_view.h"
17 #include "grit/generated_resources.h" 17 #include "grit/generated_resources.h"
18 18
19 static const int kDefaultMessageWidth = 320; 19 static const int kDefaultMessageWidth = 320;
20 20
21 /////////////////////////////////////////////////////////////////////////////// 21 ///////////////////////////////////////////////////////////////////////////////
22 // MessageBoxView, public: 22 // MessageBoxView, public:
23 23
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 } 200 }
201 201
202 if (checkbox_) { 202 if (checkbox_) {
203 layout->AddPaddingRow(0, kRelatedControlVerticalSpacing); 203 layout->AddPaddingRow(0, kRelatedControlVerticalSpacing);
204 layout->StartRow(0, checkbox_column_view_set_id); 204 layout->StartRow(0, checkbox_column_view_set_id);
205 layout->AddView(checkbox_); 205 layout->AddView(checkbox_);
206 } 206 }
207 207
208 layout->AddPaddingRow(0, kRelatedControlVerticalSpacing); 208 layout->AddPaddingRow(0, kRelatedControlVerticalSpacing);
209 } 209 }
OLDNEW
« no previous file with comments | « chrome/views/controls/menu/menu.cc ('k') | chrome/views/controls/native_control.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698