| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_WIN_H_ | 5 #ifndef UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_ |
| 6 #define UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_ | 6 #define UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_ |
| 7 | 7 |
| 8 #include <atlbase.h> | 8 #include <atlbase.h> |
| 9 #include <atlapp.h> | 9 #include <atlapp.h> |
| 10 #include <atlcrack.h> | 10 #include <atlcrack.h> |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 VIEWS_EXPORT static bool IsNumPadDigit(int key_code, bool extended_key); | 62 VIEWS_EXPORT static bool IsNumPadDigit(int key_code, bool extended_key); |
| 63 | 63 |
| 64 // See the code in textfield.cc that calls this for why this is here. | 64 // See the code in textfield.cc that calls this for why this is here. |
| 65 void AttachHack(); | 65 void AttachHack(); |
| 66 | 66 |
| 67 // Overridden from NativeTextfieldWrapper: | 67 // Overridden from NativeTextfieldWrapper: |
| 68 virtual string16 GetText() const OVERRIDE; | 68 virtual string16 GetText() const OVERRIDE; |
| 69 virtual void UpdateText() OVERRIDE; | 69 virtual void UpdateText() OVERRIDE; |
| 70 virtual void AppendText(const string16& text) OVERRIDE; | 70 virtual void AppendText(const string16& text) OVERRIDE; |
| 71 virtual string16 GetSelectedText() const OVERRIDE; | 71 virtual string16 GetSelectedText() const OVERRIDE; |
| 72 virtual void SelectAll() OVERRIDE; | 72 virtual void SelectAll(bool reversed) OVERRIDE; |
| 73 virtual void ClearSelection() OVERRIDE; | 73 virtual void ClearSelection() OVERRIDE; |
| 74 virtual void UpdateBorder() OVERRIDE; | 74 virtual void UpdateBorder() OVERRIDE; |
| 75 virtual void UpdateTextColor() OVERRIDE; | 75 virtual void UpdateTextColor() OVERRIDE; |
| 76 virtual void UpdateBackgroundColor() OVERRIDE; | 76 virtual void UpdateBackgroundColor() OVERRIDE; |
| 77 virtual void UpdateCursorColor() OVERRIDE; | 77 virtual void UpdateCursorColor() OVERRIDE; |
| 78 virtual void UpdateReadOnly() OVERRIDE; | 78 virtual void UpdateReadOnly() OVERRIDE; |
| 79 virtual void UpdateFont() OVERRIDE; | 79 virtual void UpdateFont() OVERRIDE; |
| 80 virtual void UpdateIsObscured() OVERRIDE; | 80 virtual void UpdateIsObscured() OVERRIDE; |
| 81 virtual void UpdateEnabled() OVERRIDE; | 81 virtual void UpdateEnabled() OVERRIDE; |
| 82 virtual gfx::Insets CalculateInsets() OVERRIDE; | 82 virtual gfx::Insets CalculateInsets() OVERRIDE; |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 | 298 |
| 299 // The accessibility state of this object. | 299 // The accessibility state of this object. |
| 300 int accessibility_state_; | 300 int accessibility_state_; |
| 301 | 301 |
| 302 DISALLOW_COPY_AND_ASSIGN(NativeTextfieldWin); | 302 DISALLOW_COPY_AND_ASSIGN(NativeTextfieldWin); |
| 303 }; | 303 }; |
| 304 | 304 |
| 305 } // namespace views | 305 } // namespace views |
| 306 | 306 |
| 307 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_ | 307 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_ |
| OLD | NEW |