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

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

Issue 6382009: views: Move grid_layout files into layout directory. Final Part. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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/browser/ui/views/url_picker.cc ('k') | views/examples/examples_main.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "base/i18n/rtl.h" 7 #include "base/i18n/rtl.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
10 #include "ui/base/clipboard/clipboard.h" 10 #include "ui/base/clipboard/clipboard.h"
11 #include "ui/base/clipboard/scoped_clipboard_writer.h" 11 #include "ui/base/clipboard/scoped_clipboard_writer.h"
12 #include "ui/base/message_box_flags.h" 12 #include "ui/base/message_box_flags.h"
13 #include "views/controls/button/checkbox.h" 13 #include "views/controls/button/checkbox.h"
14 #include "views/grid_layout.h" 14 #include "views/layout/grid_layout.h"
15 #include "views/layout/layout_constants.h" 15 #include "views/layout/layout_constants.h"
16 #include "views/views_delegate.h" 16 #include "views/views_delegate.h"
17 #include "views/window/client_view.h" 17 #include "views/window/client_view.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
24 MessageBoxView::MessageBoxView(int dialog_flags, 24 MessageBoxView::MessageBoxView(int dialog_flags,
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 } 208 }
209 209
210 if (checkbox_) { 210 if (checkbox_) {
211 layout->AddPaddingRow(0, kRelatedControlVerticalSpacing); 211 layout->AddPaddingRow(0, kRelatedControlVerticalSpacing);
212 layout->StartRow(0, checkbox_column_view_set_id); 212 layout->StartRow(0, checkbox_column_view_set_id);
213 layout->AddView(checkbox_); 213 layout->AddView(checkbox_);
214 } 214 }
215 215
216 layout->AddPaddingRow(0, kRelatedControlVerticalSpacing); 216 layout->AddPaddingRow(0, kRelatedControlVerticalSpacing);
217 } 217 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/url_picker.cc ('k') | views/examples/examples_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698