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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 virtual void SetFocus(); | 113 virtual void SetFocus(); |
114 | 114 |
115 virtual void OnTemporaryTextMaybeChanged(const std::wstring& display_text, | 115 virtual void OnTemporaryTextMaybeChanged(const std::wstring& display_text, |
116 bool save_original_selection); | 116 bool save_original_selection); |
117 virtual bool OnInlineAutocompleteTextMaybeChanged( | 117 virtual bool OnInlineAutocompleteTextMaybeChanged( |
118 const std::wstring& display_text, size_t user_text_length); | 118 const std::wstring& display_text, size_t user_text_length); |
119 virtual void OnRevertTemporaryText(); | 119 virtual void OnRevertTemporaryText(); |
120 virtual void OnBeforePossibleChange(); | 120 virtual void OnBeforePossibleChange(); |
121 virtual bool OnAfterPossibleChange(); | 121 virtual bool OnAfterPossibleChange(); |
122 virtual gfx::NativeView GetNativeView() const; | 122 virtual gfx::NativeView GetNativeView() const; |
123 virtual gfx::NativeView GetFocusNativeView() const; | |
124 | 123 |
125 // Exposes custom IAccessible implementation to the overall MSAA hierarchy. | 124 // Exposes custom IAccessible implementation to the overall MSAA hierarchy. |
126 IAccessible* GetIAccessible(); | 125 IAccessible* GetIAccessible(); |
127 | 126 |
128 void SetDropHighlightPosition(int position); | 127 void SetDropHighlightPosition(int position); |
129 int drop_highlight_position() const { return drop_highlight_position_; } | 128 int drop_highlight_position() const { return drop_highlight_position_; } |
130 | 129 |
131 // Returns true if a drag a drop session was initiated by this edit. | 130 // Returns true if a drag a drop session was initiated by this edit. |
132 bool in_drag() const { return in_drag_; } | 131 bool in_drag() const { return in_drag_; } |
133 | 132 |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 // striken-out when displaying an insecure scheme. | 483 // striken-out when displaying an insecure scheme. |
485 url_parse::Component insecure_scheme_component_; | 484 url_parse::Component insecure_scheme_component_; |
486 | 485 |
487 // Instance of accessibility information and handling. | 486 // Instance of accessibility information and handling. |
488 mutable ScopedComPtr<IAccessible> autocomplete_accessibility_; | 487 mutable ScopedComPtr<IAccessible> autocomplete_accessibility_; |
489 | 488 |
490 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewWin); | 489 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewWin); |
491 }; | 490 }; |
492 | 491 |
493 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ | 492 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ |
OLD | NEW |