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

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

Issue 6360014: views: Move fill_layout.[cc,h] into layout directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
OLDNEW
1 // Copyright (c) 2010 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/existing_user_view.h" 5 #include "chrome/browser/chromeos/login/existing_user_view.h"
6 6
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "chrome/browser/chromeos/login/user_controller.h" 8 #include "chrome/browser/chromeos/login/user_controller.h"
9 #include "chrome/browser/chromeos/login/textfield_with_margin.h" 9 #include "chrome/browser/chromeos/login/textfield_with_margin.h"
10 #include "chrome/browser/chromeos/login/wizard_accessibility_helper.h" 10 #include "chrome/browser/chromeos/login/wizard_accessibility_helper.h"
11 #include "grit/generated_resources.h" 11 #include "grit/generated_resources.h"
12 #include "ui/base/l10n/l10n_util.h" 12 #include "ui/base/l10n/l10n_util.h"
13 #include "views/background.h" 13 #include "views/background.h"
14 #include "views/focus/focus_manager.h" 14 #include "views/focus/focus_manager.h"
15 #include "views/fill_layout.h" 15 #include "views/layout/fill_layout.h"
16 16
17 namespace chromeos { 17 namespace chromeos {
18 18
19 // Colors for gradient background. These should be consistent with border 19 // Colors for gradient background. These should be consistent with border
20 // window background so textfield border is not visible to the user. 20 // window background so textfield border is not visible to the user.
21 // The background is needed for password textfield to imitate its borders 21 // The background is needed for password textfield to imitate its borders
22 // transparency correctly. 22 // transparency correctly.
23 const SkColor kBackgroundColorTop = SkColorSetRGB(209, 213, 216); 23 const SkColor kBackgroundColorTop = SkColorSetRGB(209, 213, 216);
24 const SkColor kBackgroundColorBottom = SkColorSetRGB(205, 210, 213); 24 const SkColor kBackgroundColorBottom = SkColorSetRGB(205, 210, 213);
25 25
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 146
147 gfx::Rect ExistingUserView::GetMainInputScreenBounds() const { 147 gfx::Rect ExistingUserView::GetMainInputScreenBounds() const {
148 return password_field_->GetScreenBounds(); 148 return password_field_->GetScreenBounds();
149 } 149 }
150 150
151 void ExistingUserView::OnLocaleChanged() { 151 void ExistingUserView::OnLocaleChanged() {
152 RecreateFields(); 152 RecreateFields();
153 } 153 }
154 154
155 } // namespace chromeos 155 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/input_method/candidate_window.cc ('k') | chrome/browser/chromeos/login/network_selection_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698