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_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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "base/string16.h" | 10 #include "base/string16.h" |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 virtual void UpdateText() OVERRIDE; | 94 virtual void UpdateText() OVERRIDE; |
95 virtual void AppendText(const string16& text) OVERRIDE; | 95 virtual void AppendText(const string16& text) OVERRIDE; |
96 virtual string16 GetSelectedText() const OVERRIDE; | 96 virtual string16 GetSelectedText() const OVERRIDE; |
97 virtual void SelectAll() OVERRIDE; | 97 virtual void SelectAll() OVERRIDE; |
98 virtual void ClearSelection() OVERRIDE; | 98 virtual void ClearSelection() OVERRIDE; |
99 virtual void UpdateBorder() OVERRIDE; | 99 virtual void UpdateBorder() OVERRIDE; |
100 virtual void UpdateTextColor() OVERRIDE; | 100 virtual void UpdateTextColor() OVERRIDE; |
101 virtual void UpdateBackgroundColor() OVERRIDE; | 101 virtual void UpdateBackgroundColor() OVERRIDE; |
102 virtual void UpdateReadOnly() OVERRIDE; | 102 virtual void UpdateReadOnly() OVERRIDE; |
103 virtual void UpdateFont() OVERRIDE; | 103 virtual void UpdateFont() OVERRIDE; |
104 virtual void UpdateIsPassword() OVERRIDE; | 104 virtual void UpdateIsObscured() OVERRIDE; |
105 virtual void UpdateEnabled() OVERRIDE; | 105 virtual void UpdateEnabled() OVERRIDE; |
106 virtual gfx::Insets CalculateInsets() OVERRIDE; | 106 virtual gfx::Insets CalculateInsets() OVERRIDE; |
107 virtual void UpdateHorizontalMargins() OVERRIDE; | 107 virtual void UpdateHorizontalMargins() OVERRIDE; |
108 virtual void UpdateVerticalMargins() OVERRIDE; | 108 virtual void UpdateVerticalMargins() OVERRIDE; |
109 virtual bool SetFocus() OVERRIDE; | 109 virtual bool SetFocus() OVERRIDE; |
110 virtual View* GetView() OVERRIDE; | 110 virtual View* GetView() OVERRIDE; |
111 virtual gfx::NativeView GetTestingHandle() const OVERRIDE; | 111 virtual gfx::NativeView GetTestingHandle() const OVERRIDE; |
112 virtual bool IsIMEComposing() const OVERRIDE; | 112 virtual bool IsIMEComposing() const OVERRIDE; |
113 virtual void GetSelectedRange(ui::Range* range) const OVERRIDE; | 113 virtual void GetSelectedRange(ui::Range* range) const OVERRIDE; |
114 virtual void SelectRange(const ui::Range& range) OVERRIDE; | 114 virtual void SelectRange(const ui::Range& range) OVERRIDE; |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 scoped_ptr<views::MenuRunner> context_menu_runner_; | 258 scoped_ptr<views::MenuRunner> context_menu_runner_; |
259 | 259 |
260 scoped_ptr<TouchSelectionController> touch_selection_controller_; | 260 scoped_ptr<TouchSelectionController> touch_selection_controller_; |
261 | 261 |
262 DISALLOW_COPY_AND_ASSIGN(NativeTextfieldViews); | 262 DISALLOW_COPY_AND_ASSIGN(NativeTextfieldViews); |
263 }; | 263 }; |
264 | 264 |
265 } // namespace views | 265 } // namespace views |
266 | 266 |
267 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_VIEWS_H_ | 267 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_VIEWS_H_ |
OLD | NEW |