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_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 virtual void SetUserText(const string16& text) OVERRIDE; | 92 virtual void SetUserText(const string16& text) OVERRIDE; |
93 virtual void SetUserText(const string16& text, | 93 virtual void SetUserText(const string16& text, |
94 const string16& display_text, | 94 const string16& display_text, |
95 bool update_popup) OVERRIDE; | 95 bool update_popup) OVERRIDE; |
96 virtual void SetWindowTextAndCaretPos(const string16& text, | 96 virtual void SetWindowTextAndCaretPos(const string16& text, |
97 size_t caret_pos) OVERRIDE; | 97 size_t caret_pos) OVERRIDE; |
98 virtual void SetForcedQuery() OVERRIDE; | 98 virtual void SetForcedQuery() OVERRIDE; |
99 virtual bool IsSelectAll() OVERRIDE; | 99 virtual bool IsSelectAll() OVERRIDE; |
100 virtual bool DeleteAtEndPressed() OVERRIDE; | 100 virtual bool DeleteAtEndPressed() OVERRIDE; |
101 virtual void GetSelectionBounds(string16::size_type* start, | 101 virtual void GetSelectionBounds(string16::size_type* start, |
102 string16::size_type* end) OVERRIDE; | 102 string16::size_type* end) const OVERRIDE; |
103 virtual void SelectAll(bool reversed) OVERRIDE; | 103 virtual void SelectAll(bool reversed) OVERRIDE; |
104 virtual void RevertAll() OVERRIDE; | 104 virtual void RevertAll() OVERRIDE; |
105 virtual void UpdatePopup() OVERRIDE; | 105 virtual void UpdatePopup() OVERRIDE; |
106 virtual void ClosePopup() OVERRIDE; | 106 virtual void ClosePopup() OVERRIDE; |
107 virtual void SetFocus() OVERRIDE; | 107 virtual void SetFocus() OVERRIDE; |
108 virtual void OnTemporaryTextMaybeChanged( | 108 virtual void OnTemporaryTextMaybeChanged( |
109 const string16& display_text, | 109 const string16& display_text, |
110 bool save_original_selection) OVERRIDE; | 110 bool save_original_selection) OVERRIDE; |
111 virtual bool OnInlineAutocompleteTextMaybeChanged( | 111 virtual bool OnInlineAutocompleteTextMaybeChanged( |
112 const string16& display_text, size_t user_text_length) OVERRIDE; | 112 const string16& display_text, size_t user_text_length) OVERRIDE; |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 ui::Range sel_before_change_; | 182 ui::Range sel_before_change_; |
183 bool ime_composing_before_change_; | 183 bool ime_composing_before_change_; |
184 | 184 |
185 // Was the delete key pressed with an empty selection at the end of the edit? | 185 // Was the delete key pressed with an empty selection at the end of the edit? |
186 bool delete_at_end_pressed_; | 186 bool delete_at_end_pressed_; |
187 | 187 |
188 DISALLOW_COPY_AND_ASSIGN(OmniboxViewViews); | 188 DISALLOW_COPY_AND_ASSIGN(OmniboxViewViews); |
189 }; | 189 }; |
190 | 190 |
191 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ | 191 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ |
OLD | NEW |