| 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 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <atlbase.h> | 9 #include <atlbase.h> |
| 10 #include <atlapp.h> | 10 #include <atlapp.h> |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 | 127 |
| 128 virtual void OnTemporaryTextMaybeChanged(const string16& display_text, | 128 virtual void OnTemporaryTextMaybeChanged(const string16& display_text, |
| 129 bool save_original_selection); | 129 bool save_original_selection); |
| 130 virtual bool OnInlineAutocompleteTextMaybeChanged( | 130 virtual bool OnInlineAutocompleteTextMaybeChanged( |
| 131 const string16& display_text, size_t user_text_length); | 131 const string16& display_text, size_t user_text_length); |
| 132 virtual void OnRevertTemporaryText(); | 132 virtual void OnRevertTemporaryText(); |
| 133 virtual void OnBeforePossibleChange(); | 133 virtual void OnBeforePossibleChange(); |
| 134 virtual bool OnAfterPossibleChange(); | 134 virtual bool OnAfterPossibleChange(); |
| 135 virtual gfx::NativeView GetNativeView() const; | 135 virtual gfx::NativeView GetNativeView() const; |
| 136 virtual CommandUpdater* GetCommandUpdater(); | 136 virtual CommandUpdater* GetCommandUpdater(); |
| 137 virtual void SetInstantSuggestion(const string16& suggestion); | 137 virtual void SetInstantSuggestion(const string16& suggestion, |
| 138 bool animate_to_complete); |
| 138 virtual int TextWidth() const; | 139 virtual int TextWidth() const; |
| 139 virtual string16 GetInstantSuggestion() const; | 140 virtual string16 GetInstantSuggestion() const; |
| 140 virtual bool IsImeComposing() const; | 141 virtual bool IsImeComposing() const; |
| 141 | 142 |
| 142 virtual views::View* AddToView(views::View* parent); | 143 virtual views::View* AddToView(views::View* parent); |
| 143 virtual int OnPerformDrop(const views::DropTargetEvent& event); | 144 virtual int OnPerformDrop(const views::DropTargetEvent& event); |
| 144 | 145 |
| 145 int GetPopupMaxYCoordinate(); | 146 int GetPopupMaxYCoordinate(); |
| 146 | 147 |
| 147 // Exposes custom IAccessible implementation to the overall MSAA hierarchy. | 148 // Exposes custom IAccessible implementation to the overall MSAA hierarchy. |
| (...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 537 // striken-out when displaying an insecure scheme. | 538 // striken-out when displaying an insecure scheme. |
| 538 url_parse::Component insecure_scheme_component_; | 539 url_parse::Component insecure_scheme_component_; |
| 539 | 540 |
| 540 // Instance of accessibility information and handling. | 541 // Instance of accessibility information and handling. |
| 541 mutable ScopedComPtr<IAccessible> autocomplete_accessibility_; | 542 mutable ScopedComPtr<IAccessible> autocomplete_accessibility_; |
| 542 | 543 |
| 543 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewWin); | 544 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditViewWin); |
| 544 }; | 545 }; |
| 545 | 546 |
| 546 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ | 547 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_VIEW_WIN_H_ |
| OLD | NEW |