OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ | 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ |
6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ | 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 | 103 |
104 virtual void SetForcedQuery(); | 104 virtual void SetForcedQuery(); |
105 | 105 |
106 virtual bool IsSelectAll(); | 106 virtual bool IsSelectAll(); |
107 virtual void SelectAll(bool reversed); | 107 virtual void SelectAll(bool reversed); |
108 virtual void RevertAll(); | 108 virtual void RevertAll(); |
109 | 109 |
110 virtual void UpdatePopup(); | 110 virtual void UpdatePopup(); |
111 virtual void ClosePopup(); | 111 virtual void ClosePopup(); |
112 | 112 |
| 113 virtual void SetFocus(); |
| 114 |
113 virtual void OnTemporaryTextMaybeChanged(const std::wstring& display_text, | 115 virtual void OnTemporaryTextMaybeChanged(const std::wstring& display_text, |
114 bool save_original_selection); | 116 bool save_original_selection); |
115 virtual bool OnInlineAutocompleteTextMaybeChanged( | 117 virtual bool OnInlineAutocompleteTextMaybeChanged( |
116 const std::wstring& display_text, size_t user_text_length); | 118 const std::wstring& display_text, size_t user_text_length); |
117 virtual void OnRevertTemporaryText(); | 119 virtual void OnRevertTemporaryText(); |
118 virtual void OnBeforePossibleChange(); | 120 virtual void OnBeforePossibleChange(); |
119 virtual bool OnAfterPossibleChange(); | 121 virtual bool OnAfterPossibleChange(); |
120 virtual gfx::NativeView GetNativeView() const; | 122 virtual gfx::NativeView GetNativeView() const; |
121 | 123 |
122 // Exposes custom IAccessible implementation to the overall MSAA hierarchy. | 124 // Exposes custom IAccessible implementation to the overall MSAA hierarchy. |
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
481 // striken-out when displaying an insecure scheme. | 483 // striken-out when displaying an insecure scheme. |
482 url_parse::Component insecure_scheme_component_; | 484 url_parse::Component insecure_scheme_component_; |
483 | 485 |
484 // Instance of accessibility information and handling. | 486 // Instance of accessibility information and handling. |
485 mutable ScopedComPtr<IAccessible> autocomplete_accessibility_; | 487 mutable ScopedComPtr<IAccessible> autocomplete_accessibility_; |
486 | 488 |
487 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewWin); | 489 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewWin); |
488 }; | 490 }; |
489 | 491 |
490 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ | 492 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ |
OLD | NEW |