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

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

Issue 6628037: views: Moves TextfieldController/TextRange into their own headers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 9 years, 9 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/new_user_view.h" 5 #include "chrome/browser/chromeos/login/new_user_view.h"
6 6
7 #include <signal.h> 7 #include <signal.h>
8 #include <sys/types.h> 8 #include <sys/types.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
11 #include <vector> 11 #include <vector>
(...skipping 15 matching lines...) Expand all
27 #include "chrome/common/pref_names.h" 27 #include "chrome/common/pref_names.h"
28 #include "grit/app_resources.h" 28 #include "grit/app_resources.h"
29 #include "grit/chromium_strings.h" 29 #include "grit/chromium_strings.h"
30 #include "grit/generated_resources.h" 30 #include "grit/generated_resources.h"
31 #include "ui/base/keycodes/keyboard_codes.h" 31 #include "ui/base/keycodes/keyboard_codes.h"
32 #include "ui/base/l10n/l10n_util.h" 32 #include "ui/base/l10n/l10n_util.h"
33 #include "ui/base/resource/resource_bundle.h" 33 #include "ui/base/resource/resource_bundle.h"
34 #include "ui/gfx/font.h" 34 #include "ui/gfx/font.h"
35 #include "views/controls/button/menu_button.h" 35 #include "views/controls/button/menu_button.h"
36 #include "views/controls/label.h" 36 #include "views/controls/label.h"
37 #include "views/controls/textfield/textfield.h"
37 #include "views/controls/throbber.h" 38 #include "views/controls/throbber.h"
38 #include "views/widget/widget_gtk.h" 39 #include "views/widget/widget_gtk.h"
39 40
40 using views::View; 41 using views::View;
41 42
42 namespace { 43 namespace {
43 44
44 const int kTextfieldWidth = 230; 45 const int kTextfieldWidth = 230;
45 const int kSplitterHeight = 1; 46 const int kSplitterHeight = 1;
46 const int kTitlePad = 20; 47 const int kTitlePad = 20;
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 559
559 void NewUserView::InitLink(views::Link** link) { 560 void NewUserView::InitLink(views::Link** link) {
560 *link = new views::Link(std::wstring()); 561 *link = new views::Link(std::wstring());
561 (*link)->SetController(this); 562 (*link)->SetController(this);
562 (*link)->SetNormalColor(login::kLinkColor); 563 (*link)->SetNormalColor(login::kLinkColor);
563 (*link)->SetHighlightedColor(login::kLinkColor); 564 (*link)->SetHighlightedColor(login::kLinkColor);
564 AddChildView(*link); 565 AddChildView(*link);
565 } 566 }
566 567
567 } // namespace chromeos 568 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/new_user_view.h ('k') | chrome/browser/chromeos/login/password_changed_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698