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

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

Issue 8771006: views: Move the remaining file from views/ to ui/views/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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/chromeos/login/helper.h" 5 #include "chrome/browser/chromeos/login/helper.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "chrome/browser/chromeos/cros/network_library.h" 9 #include "chrome/browser/chromeos/cros/network_library.h"
10 #include "chrome/browser/google/google_util.h" 10 #include "chrome/browser/google/google_util.h"
11 #include "googleurl/src/gurl.h" 11 #include "googleurl/src/gurl.h"
12 #include "grit/generated_resources.h" 12 #include "grit/generated_resources.h"
13 #include "grit/theme_resources.h" 13 #include "grit/theme_resources.h"
14 #include "third_party/skia/include/effects/SkGradientShader.h" 14 #include "third_party/skia/include/effects/SkGradientShader.h"
15 #include "ui/base/l10n/l10n_util.h" 15 #include "ui/base/l10n/l10n_util.h"
16 #include "ui/base/resource/resource_bundle.h" 16 #include "ui/base/resource/resource_bundle.h"
17 #include "ui/gfx/canvas_skia.h" 17 #include "ui/gfx/canvas_skia.h"
18 #include "ui/gfx/screen.h" 18 #include "ui/gfx/screen.h"
19 #include "ui/views/controls/button/menu_button.h" 19 #include "ui/views/controls/button/menu_button.h"
20 #include "ui/views/controls/label.h" 20 #include "ui/views/controls/label.h"
21 #include "ui/views/controls/textfield/textfield.h" 21 #include "ui/views/controls/textfield/textfield.h"
22 #include "ui/views/controls/throbber.h" 22 #include "ui/views/controls/throbber.h"
23 #include "ui/views/painter.h"
23 #include "ui/views/widget/widget.h" 24 #include "ui/views/widget/widget.h"
24 #include "views/painter.h"
25 25
26 namespace chromeos { 26 namespace chromeos {
27 27
28 namespace { 28 namespace {
29 29
30 // Time in ms per throbber frame. 30 // Time in ms per throbber frame.
31 const int kThrobberFrameMs = 60; 31 const int kThrobberFrameMs = 60;
32 32
33 // Time in ms before smoothed throbber is shown. 33 // Time in ms before smoothed throbber is shown.
34 const int kThrobberStartDelayMs = 500; 34 const int kThrobberStartDelayMs = 500;
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 gfx::Size preferred_size = NativeTextButton::GetPreferredSize(); 227 gfx::Size preferred_size = NativeTextButton::GetPreferredSize();
228 // Set minimal width. 228 // Set minimal width.
229 if (preferred_size.width() < kButtonMinWidth) 229 if (preferred_size.width() < kButtonMinWidth)
230 preferred_size.set_width(kButtonMinWidth); 230 preferred_size.set_width(kButtonMinWidth);
231 return preferred_size; 231 return preferred_size;
232 } 232 }
233 233
234 } // namespace login 234 } // namespace login
235 235
236 } // namespace chromeos 236 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/captcha_view.cc ('k') | chrome/browser/chromeos/login/rounded_rect_painter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698