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

Side by Side Diff: chrome/browser/chromeos/login/captcha_view.cc

Issue 6257017: views: Move standard_layout.h into the layout directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win 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 | « no previous file | chrome/browser/chromeos/login/eula_view.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 "chrome/browser/chromeos/login/captcha_view.h" 5 #include "chrome/browser/chromeos/login/captcha_view.h"
6 6
7 #include "base/string_util.h" 7 #include "base/string_util.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "chrome/browser/chromeos/login/helper.h" 9 #include "chrome/browser/chromeos/login/helper.h"
10 #include "chrome/browser/chromeos/login/image_downloader.h" 10 #include "chrome/browser/chromeos/login/image_downloader.h"
11 #include "chrome/browser/chromeos/login/rounded_rect_painter.h" 11 #include "chrome/browser/chromeos/login/rounded_rect_painter.h"
12 #include "chrome/browser/chromeos/login/textfield_with_margin.h" 12 #include "chrome/browser/chromeos/login/textfield_with_margin.h"
13 #include "chrome/browser/chromeos/views/copy_background.h" 13 #include "chrome/browser/chromeos/views/copy_background.h"
14 #include "grit/chromium_strings.h" 14 #include "grit/chromium_strings.h"
15 #include "grit/generated_resources.h" 15 #include "grit/generated_resources.h"
16 #include "grit/locale_settings.h" 16 #include "grit/locale_settings.h"
17 #include "ui/base/l10n/l10n_util.h" 17 #include "ui/base/l10n/l10n_util.h"
18 #include "views/background.h" 18 #include "views/background.h"
19 #include "views/controls/button/text_button.h" 19 #include "views/controls/button/text_button.h"
20 #include "views/controls/image_view.h" 20 #include "views/controls/image_view.h"
21 #include "views/controls/label.h" 21 #include "views/controls/label.h"
22 #include "views/grid_layout.h" 22 #include "views/grid_layout.h"
23 #include "views/standard_layout.h" 23 #include "views/layout/layout_constants.h"
24 #include "views/widget/widget_gtk.h" 24 #include "views/widget/widget_gtk.h"
25 #include "views/window/window.h" 25 #include "views/window/window.h"
26 26
27 using views::Label; 27 using views::Label;
28 using views::Textfield; 28 using views::Textfield;
29 using views::WidgetGtk; 29 using views::WidgetGtk;
30 30
31 namespace chromeos { 31 namespace chromeos {
32 32
33 namespace { 33 namespace {
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 layout->AddView(ok_button_, 1, 1, 202 layout->AddView(ok_button_, 1, 1,
203 views::GridLayout::CENTER, views::GridLayout::CENTER); 203 views::GridLayout::CENTER, views::GridLayout::CENTER);
204 } 204 }
205 205
206 // ImageDownloader will delete itself once URL is fetched. 206 // ImageDownloader will delete itself once URL is fetched.
207 // TODO(nkostylev): Make sure that it works after view is deleted. 207 // TODO(nkostylev): Make sure that it works after view is deleted.
208 new ImageDownloader(this, GURL(captcha_url_), std::string()); 208 new ImageDownloader(this, GURL(captcha_url_), std::string());
209 } 209 }
210 210
211 } // namespace chromeos 211 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/eula_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698