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

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

Issue 260003: Move the clipboard stuff out of base and into app/clipboard. I renamed... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 | « net/base/net_util.cc ('k') | views/controls/textfield/native_textfield_win.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) 2009 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/clipboard/clipboard.h"
8 #include "app/clipboard/scoped_clipboard_writer.h"
7 #include "app/l10n_util.h" 9 #include "app/l10n_util.h"
8 #include "app/message_box_flags.h" 10 #include "app/message_box_flags.h"
9 #include "base/clipboard.h"
10 #include "base/message_loop.h" 11 #include "base/message_loop.h"
11 #include "base/scoped_clipboard_writer.h"
12 #include "base/string_util.h" 12 #include "base/string_util.h"
13 #include "views/controls/button/checkbox.h" 13 #include "views/controls/button/checkbox.h"
14 #include "views/standard_layout.h" 14 #include "views/standard_layout.h"
15 #include "views/views_delegate.h" 15 #include "views/views_delegate.h"
16 #include "views/window/client_view.h" 16 #include "views/window/client_view.h"
17 17
18 static const int kDefaultMessageWidth = 320; 18 static const int kDefaultMessageWidth = 320;
19 19
20 /////////////////////////////////////////////////////////////////////////////// 20 ///////////////////////////////////////////////////////////////////////////////
21 // MessageBoxView, public: 21 // MessageBoxView, public:
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 } 206 }
207 207
208 if (checkbox_) { 208 if (checkbox_) {
209 layout->AddPaddingRow(0, kRelatedControlVerticalSpacing); 209 layout->AddPaddingRow(0, kRelatedControlVerticalSpacing);
210 layout->StartRow(0, checkbox_column_view_set_id); 210 layout->StartRow(0, checkbox_column_view_set_id);
211 layout->AddView(checkbox_); 211 layout->AddView(checkbox_);
212 } 212 }
213 213
214 layout->AddPaddingRow(0, kRelatedControlVerticalSpacing); 214 layout->AddPaddingRow(0, kRelatedControlVerticalSpacing);
215 } 215 }
OLDNEW
« no previous file with comments | « net/base/net_util.cc ('k') | views/controls/textfield/native_textfield_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698