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

Side by Side Diff: chrome/browser/ui/input_window_dialog_win.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
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 "chrome/browser/ui/input_window_dialog.h" 5 #include "chrome/browser/ui/input_window_dialog.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "base/task.h" 9 #include "base/task.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
11 #include "chrome/browser/ui/webui/chrome_web_ui.h" 11 #include "chrome/browser/ui/webui/chrome_web_ui.h"
12 #include "chrome/browser/ui/webui/input_window_dialog_webui.h" 12 #include "chrome/browser/ui/webui/input_window_dialog_webui.h"
13 #include "grit/generated_resources.h" 13 #include "grit/generated_resources.h"
14 #include "ui/base/l10n/l10n_util.h" 14 #include "ui/base/l10n/l10n_util.h"
15 #include "ui/views/window/dialog_delegate.h"
15 #include "views/controls/label.h" 16 #include "views/controls/label.h"
16 #include "views/controls/textfield/textfield.h" 17 #include "views/controls/textfield/textfield.h"
17 #include "views/controls/textfield/textfield_controller.h" 18 #include "views/controls/textfield/textfield_controller.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/widget/widget.h" 21 #include "views/widget/widget.h"
21 #include "views/window/dialog_delegate.h"
22 22
23 namespace { 23 namespace {
24 24
25 // Width of the text field, in pixels. 25 // Width of the text field, in pixels.
26 const int kTextfieldWidth = 200; 26 const int kTextfieldWidth = 200;
27 27
28 } // namespace 28 } // namespace
29 29
30 // The Windows implementation of the cross platform input dialog interface. 30 // The Windows implementation of the cross platform input dialog interface.
31 class InputWindowDialogWin : public InputWindowDialog { 31 class InputWindowDialogWin : public InputWindowDialog {
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 } else { 272 } else {
273 DCHECK_EQ(1U, label_contents_pairs.size()); 273 DCHECK_EQ(1U, label_contents_pairs.size());
274 return new InputWindowDialogWin(parent, 274 return new InputWindowDialogWin(parent,
275 window_title, 275 window_title,
276 label_contents_pairs[0].first, 276 label_contents_pairs[0].first,
277 label_contents_pairs[0].second, 277 label_contents_pairs[0].second,
278 delegate, 278 delegate,
279 type); 279 type);
280 } 280 }
281 } 281 }
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/options/take_photo_dialog.h ('k') | chrome/browser/ui/login/login_prompt_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698