| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_DECORATED_TEXTFIELD_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_DECORATED_TEXTFIELD_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_DECORATED_TEXTFIELD_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_AUTOFILL_DECORATED_TEXTFIELD_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" |
| 8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| 10 #include "ui/gfx/image/image.h" | 11 #include "ui/gfx/image/image.h" |
| 11 #include "ui/views/controls/textfield/textfield.h" | 12 #include "ui/views/controls/textfield/textfield.h" |
| 12 #include "ui/views/view_targeter_delegate.h" | 13 #include "ui/views/view_targeter_delegate.h" |
| 13 | 14 |
| 14 namespace views { | 15 namespace views { |
| 15 class ImageView; | 16 class ImageView; |
| 16 class TextfieldController; | 17 class TextfieldController; |
| 17 } | 18 } |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 // pieces of the textfield disappear (border, background, icon, placeholder | 78 // pieces of the textfield disappear (border, background, icon, placeholder |
| 78 // text) and it can't receive focus. | 79 // text) and it can't receive focus. |
| 79 bool editable_; | 80 bool editable_; |
| 80 | 81 |
| 81 DISALLOW_COPY_AND_ASSIGN(DecoratedTextfield); | 82 DISALLOW_COPY_AND_ASSIGN(DecoratedTextfield); |
| 82 }; | 83 }; |
| 83 | 84 |
| 84 } // namespace autofill | 85 } // namespace autofill |
| 85 | 86 |
| 86 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_DECORATED_TEXTFIELD_H_ | 87 #endif // CHROME_BROWSER_UI_VIEWS_AUTOFILL_DECORATED_TEXTFIELD_H_ |
| OLD | NEW |