OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_VIEWS_H_ | 5 #ifndef UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_VIEWS_H_ |
6 #define UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_VIEWS_H_ | 6 #define UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_VIEWS_H_ |
7 | 7 |
8 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
9 #include "base/string16.h" | 9 #include "base/strings/string16.h" |
10 #include "base/timer.h" | 10 #include "base/timer.h" |
11 #include "ui/base/events/event_constants.h" | 11 #include "ui/base/events/event_constants.h" |
12 #include "ui/base/ime/text_input_client.h" | 12 #include "ui/base/ime/text_input_client.h" |
13 #include "ui/base/models/simple_menu_model.h" | 13 #include "ui/base/models/simple_menu_model.h" |
14 #include "ui/base/touch/touch_editing_controller.h" | 14 #include "ui/base/touch/touch_editing_controller.h" |
15 #include "ui/gfx/font.h" | 15 #include "ui/gfx/font.h" |
16 #include "ui/views/border.h" | 16 #include "ui/views/border.h" |
17 #include "ui/views/context_menu_controller.h" | 17 #include "ui/views/context_menu_controller.h" |
18 #include "ui/views/controls/textfield/native_textfield_wrapper.h" | 18 #include "ui/views/controls/textfield/native_textfield_wrapper.h" |
19 #include "ui/views/controls/textfield/textfield_views_model.h" | 19 #include "ui/views/controls/textfield/textfield_views_model.h" |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 // obscured text. When the timer is running, the last typed char is shown | 337 // obscured text. When the timer is running, the last typed char is shown |
338 // and when the time expires, the last typed char is obscured. | 338 // and when the time expires, the last typed char is obscured. |
339 base::OneShotTimer<NativeTextfieldViews> obscured_reveal_timer_; | 339 base::OneShotTimer<NativeTextfieldViews> obscured_reveal_timer_; |
340 | 340 |
341 DISALLOW_COPY_AND_ASSIGN(NativeTextfieldViews); | 341 DISALLOW_COPY_AND_ASSIGN(NativeTextfieldViews); |
342 }; | 342 }; |
343 | 343 |
344 } // namespace views | 344 } // namespace views |
345 | 345 |
346 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_VIEWS_H_ | 346 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_VIEWS_H_ |
OLD | NEW |