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