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

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

Issue 8497067: views: Remove the old views/window/ directory and its stubbed files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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/bubble/bubble_frame_view.cc ('k') | views/desktop/desktop_window_manager.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/accessibility/accessible_view_state.h" 10 #include "ui/base/accessibility/accessible_view_state.h"
11 #include "ui/base/clipboard/clipboard.h" 11 #include "ui/base/clipboard/clipboard.h"
12 #include "ui/base/clipboard/scoped_clipboard_writer.h" 12 #include "ui/base/clipboard/scoped_clipboard_writer.h"
13 #include "ui/base/message_box_flags.h" 13 #include "ui/base/message_box_flags.h"
14 #include "ui/views/window/client_view.h"
14 #include "views/controls/button/checkbox.h" 15 #include "views/controls/button/checkbox.h"
15 #include "views/controls/image_view.h" 16 #include "views/controls/image_view.h"
16 #include "views/controls/label.h" 17 #include "views/controls/label.h"
17 #include "views/controls/textfield/textfield.h" 18 #include "views/controls/textfield/textfield.h"
18 #include "views/layout/grid_layout.h" 19 #include "views/layout/grid_layout.h"
19 #include "views/layout/layout_constants.h" 20 #include "views/layout/layout_constants.h"
20 #include "views/views_delegate.h" 21 #include "views/views_delegate.h"
21 #include "views/widget/widget.h" 22 #include "views/widget/widget.h"
22 #include "views/window/client_view.h"
23 23
24 const int kDefaultMessageWidth = 320; 24 const int kDefaultMessageWidth = 320;
25 25
26 namespace views { 26 namespace views {
27 27
28 /////////////////////////////////////////////////////////////////////////////// 28 ///////////////////////////////////////////////////////////////////////////////
29 // MessageBoxView, public: 29 // MessageBoxView, public:
30 30
31 MessageBoxView::MessageBoxView(int dialog_flags, 31 MessageBoxView::MessageBoxView(int dialog_flags,
32 const string16& message, 32 const string16& message,
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 if (checkbox_) { 219 if (checkbox_) {
220 layout->AddPaddingRow(0, kRelatedControlVerticalSpacing); 220 layout->AddPaddingRow(0, kRelatedControlVerticalSpacing);
221 layout->StartRow(0, checkbox_column_view_set_id); 221 layout->StartRow(0, checkbox_column_view_set_id);
222 layout->AddView(checkbox_); 222 layout->AddView(checkbox_);
223 } 223 }
224 224
225 layout->AddPaddingRow(0, kRelatedControlVerticalSpacing); 225 layout->AddPaddingRow(0, kRelatedControlVerticalSpacing);
226 } 226 }
227 227
228 } // namespace views 228 } // namespace views
OLDNEW
« no previous file with comments | « views/bubble/bubble_frame_view.cc ('k') | views/desktop/desktop_window_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698