OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/account_creation_view.h" | 5 #include "chrome/browser/chromeos/login/account_creation_view.h" |
6 | 6 |
7 #include "app/gfx/canvas.h" | |
8 #include "base/callback.h" | 7 #include "base/callback.h" |
9 #include "base/string_util.h" | 8 #include "base/string_util.h" |
10 #include "base/values.h" | 9 #include "base/values.h" |
11 #include "chrome/browser/child_process_security_policy.h" | 10 #include "chrome/browser/child_process_security_policy.h" |
12 #include "chrome/browser/chromeos/login/rounded_rect_painter.h" | 11 #include "chrome/browser/chromeos/login/rounded_rect_painter.h" |
13 #include "chrome/browser/dom_ui/dom_ui.h" | 12 #include "chrome/browser/dom_ui/dom_ui.h" |
14 #include "chrome/browser/tab_contents/tab_contents.h" | 13 #include "chrome/browser/tab_contents/tab_contents.h" |
15 #include "chrome/common/bindings_policy.h" | 14 #include "chrome/common/bindings_policy.h" |
| 15 #include "gfx/canvas.h" |
16 #include "ipc/ipc_message.h" | 16 #include "ipc/ipc_message.h" |
17 #include "views/border.h" | 17 #include "views/border.h" |
18 #include "webkit/glue/form_field_values.h" | 18 #include "webkit/glue/form_field_values.h" |
19 | 19 |
20 namespace chromeos { | 20 namespace chromeos { |
21 | 21 |
22 const char kCreateAccountFormName[] = "createaccount"; | 22 const char kCreateAccountFormName[] = "createaccount"; |
23 const char kEmailFieldName[] = "Email"; | 23 const char kEmailFieldName[] = "Email"; |
24 const char kDomainFieldName[] = "edk"; | 24 const char kDomainFieldName[] = "edk"; |
25 | 25 |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 } | 138 } |
139 | 139 |
140 /////////////////////////////////////////////////////////////////////////////// | 140 /////////////////////////////////////////////////////////////////////////////// |
141 // AccountCreationView, views::View implementation: | 141 // AccountCreationView, views::View implementation: |
142 void AccountCreationView::Paint(gfx::Canvas* canvas) { | 142 void AccountCreationView::Paint(gfx::Canvas* canvas) { |
143 PaintBorder(canvas); | 143 PaintBorder(canvas); |
144 DOMView::Paint(canvas); | 144 DOMView::Paint(canvas); |
145 } | 145 } |
146 | 146 |
147 } // namespace chromeos | 147 } // namespace chromeos |
OLD | NEW |