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 VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_ | 5 #ifndef VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_ |
6 #define VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_ | 6 #define VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <atlbase.h> | 9 #include <atlbase.h> |
10 #include <atlapp.h> | 10 #include <atlapp.h> |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 virtual void UpdateFont() OVERRIDE; | 75 virtual void UpdateFont() OVERRIDE; |
76 virtual void UpdateIsPassword() OVERRIDE; | 76 virtual void UpdateIsPassword() OVERRIDE; |
77 virtual void UpdateEnabled() OVERRIDE; | 77 virtual void UpdateEnabled() OVERRIDE; |
78 virtual gfx::Insets CalculateInsets() OVERRIDE; | 78 virtual gfx::Insets CalculateInsets() OVERRIDE; |
79 virtual void UpdateHorizontalMargins() OVERRIDE; | 79 virtual void UpdateHorizontalMargins() OVERRIDE; |
80 virtual void UpdateVerticalMargins() OVERRIDE; | 80 virtual void UpdateVerticalMargins() OVERRIDE; |
81 virtual bool SetFocus() OVERRIDE; | 81 virtual bool SetFocus() OVERRIDE; |
82 virtual View* GetView() OVERRIDE; | 82 virtual View* GetView() OVERRIDE; |
83 virtual gfx::NativeView GetTestingHandle() const OVERRIDE; | 83 virtual gfx::NativeView GetTestingHandle() const OVERRIDE; |
84 virtual bool IsIMEComposing() const OVERRIDE; | 84 virtual bool IsIMEComposing() const OVERRIDE; |
| 85 virtual void GetSelectedRange(ui::Range* range) const OVERRIDE; |
| 86 virtual void SelectRange(const ui::Range& range) OVERRIDE; |
85 virtual void GetSelectionModel(gfx::SelectionModel* sel) const OVERRIDE; | 87 virtual void GetSelectionModel(gfx::SelectionModel* sel) const OVERRIDE; |
86 virtual void SelectSelectionModel(const gfx::SelectionModel& sel) OVERRIDE; | 88 virtual void SelectSelectionModel(const gfx::SelectionModel& sel) OVERRIDE; |
87 virtual size_t GetCursorPosition() const OVERRIDE; | 89 virtual size_t GetCursorPosition() const OVERRIDE; |
88 virtual bool HandleKeyPressed(const views::KeyEvent& event) OVERRIDE; | 90 virtual bool HandleKeyPressed(const views::KeyEvent& event) OVERRIDE; |
89 virtual bool HandleKeyReleased(const views::KeyEvent& event) OVERRIDE; | 91 virtual bool HandleKeyReleased(const views::KeyEvent& event) OVERRIDE; |
90 virtual void HandleFocus() OVERRIDE; | 92 virtual void HandleFocus() OVERRIDE; |
91 virtual void HandleBlur() OVERRIDE; | 93 virtual void HandleBlur() OVERRIDE; |
92 virtual TextInputClient* GetTextInputClient() OVERRIDE; | 94 virtual TextInputClient* GetTextInputClient() OVERRIDE; |
93 virtual void ApplyStyleRange(const gfx::StyleRange& style) OVERRIDE; | 95 virtual void ApplyStyleRange(const gfx::StyleRange& style) OVERRIDE; |
94 virtual void ApplyDefaultStyle() OVERRIDE; | 96 virtual void ApplyDefaultStyle() OVERRIDE; |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 | 284 |
283 // The accessibility state of this object. | 285 // The accessibility state of this object. |
284 int accessibility_state_; | 286 int accessibility_state_; |
285 | 287 |
286 DISALLOW_COPY_AND_ASSIGN(NativeTextfieldWin); | 288 DISALLOW_COPY_AND_ASSIGN(NativeTextfieldWin); |
287 }; | 289 }; |
288 | 290 |
289 } // namespace views | 291 } // namespace views |
290 | 292 |
291 #endif // VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_ | 293 #endif // VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_ |
OLD | NEW |