| 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 <gtk/gtk.h> | 5 #include <gtk/gtk.h> |
| 6 | 6 |
| 7 #include "views/controls/textfield/native_textfield_gtk.h" | 7 #include "views/controls/textfield/native_textfield_gtk.h" |
| 8 | 8 |
| 9 #include "base/gfx/gtk_util.h" | 9 #include "app/gfx/gtk_util.h" |
| 10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
| 11 #include "skia/ext/skia_utils_gtk.h" | 11 #include "skia/ext/skia_utils_gtk.h" |
| 12 #include "views/controls/textfield/textfield.h" | 12 #include "views/controls/textfield/textfield.h" |
| 13 | 13 |
| 14 namespace views { | 14 namespace views { |
| 15 | 15 |
| 16 //////////////////////////////////////////////////////////////////////////////// | 16 //////////////////////////////////////////////////////////////////////////////// |
| 17 // NativeTextfieldGtk, public: | 17 // NativeTextfieldGtk, public: |
| 18 | 18 |
| 19 NativeTextfieldGtk::NativeTextfieldGtk(Textfield* textfield) | 19 NativeTextfieldGtk::NativeTextfieldGtk(Textfield* textfield) |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 //////////////////////////////////////////////////////////////////////////////// | 194 //////////////////////////////////////////////////////////////////////////////// |
| 195 // NativeTextfieldWrapper, public: | 195 // NativeTextfieldWrapper, public: |
| 196 | 196 |
| 197 // static | 197 // static |
| 198 NativeTextfieldWrapper* NativeTextfieldWrapper::CreateWrapper( | 198 NativeTextfieldWrapper* NativeTextfieldWrapper::CreateWrapper( |
| 199 Textfield* field) { | 199 Textfield* field) { |
| 200 return new NativeTextfieldGtk(field); | 200 return new NativeTextfieldGtk(field); |
| 201 } | 201 } |
| 202 | 202 |
| 203 } // namespace views | 203 } // namespace views |
| OLD | NEW |