| OLD | NEW |
| 1 // Copyright (c) 2011 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 #ifndef UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_GTK_H_ | 5 #ifndef UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_GTK_H_ |
| 6 #define UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_GTK_H_ | 6 #define UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_GTK_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
| 10 | 10 |
| 11 #include "base/string16.h" | 11 #include "base/string16.h" |
| 12 #include "ui/base/gtk/gtk_signal.h" | 12 #include "ui/base/gtk/gtk_signal.h" |
| 13 #include "ui/views/controls/native_control_gtk.h" |
| 13 #include "ui/views/controls/textfield/native_textfield_wrapper.h" | 14 #include "ui/views/controls/textfield/native_textfield_wrapper.h" |
| 14 #include "views/controls/native_control_gtk.h" | |
| 15 | 15 |
| 16 namespace gfx { | 16 namespace gfx { |
| 17 class SelectionModel; | 17 class SelectionModel; |
| 18 } | 18 } |
| 19 | 19 |
| 20 namespace views { | 20 namespace views { |
| 21 | 21 |
| 22 class NativeTextfieldGtk : public NativeControlGtk, | 22 class NativeTextfieldGtk : public NativeControlGtk, |
| 23 public NativeTextfieldWrapper { | 23 public NativeTextfieldWrapper { |
| 24 public: | 24 public: |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 // The actual paste clipboard action might be performed later if the | 96 // The actual paste clipboard action might be performed later if the |
| 97 // clipboard is not empty. | 97 // clipboard is not empty. |
| 98 bool paste_clipboard_requested_; | 98 bool paste_clipboard_requested_; |
| 99 | 99 |
| 100 DISALLOW_COPY_AND_ASSIGN(NativeTextfieldGtk); | 100 DISALLOW_COPY_AND_ASSIGN(NativeTextfieldGtk); |
| 101 }; | 101 }; |
| 102 | 102 |
| 103 } // namespace views | 103 } // namespace views |
| 104 | 104 |
| 105 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_GTK_H_ | 105 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_GTK_H_ |
| OLD | NEW |