OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 size_t selected_line, | 104 size_t selected_line, |
105 const string16& keyword) OVERRIDE; | 105 const string16& keyword) OVERRIDE; |
106 virtual string16 GetText() const OVERRIDE; | 106 virtual string16 GetText() const OVERRIDE; |
107 virtual bool IsEditingOrEmpty() const OVERRIDE; | 107 virtual bool IsEditingOrEmpty() const OVERRIDE; |
108 virtual int GetIcon() const OVERRIDE; | 108 virtual int GetIcon() const OVERRIDE; |
109 virtual void SetUserText(const string16& text) OVERRIDE; | 109 virtual void SetUserText(const string16& text) OVERRIDE; |
110 virtual void SetUserText(const string16& text, | 110 virtual void SetUserText(const string16& text, |
111 const string16& display_text, | 111 const string16& display_text, |
112 bool update_popup) OVERRIDE; | 112 bool update_popup) OVERRIDE; |
113 virtual void SetWindowTextAndCaretPos(const string16& text, | 113 virtual void SetWindowTextAndCaretPos(const string16& text, |
114 size_t caret_pos) OVERRIDE; | 114 size_t caret_pos, |
| 115 bool update_popup, |
| 116 bool notify_text_changed) OVERRIDE; |
115 virtual void SetForcedQuery() OVERRIDE; | 117 virtual void SetForcedQuery() OVERRIDE; |
116 virtual bool IsSelectAll() OVERRIDE; | 118 virtual bool IsSelectAll() OVERRIDE; |
117 virtual bool DeleteAtEndPressed() OVERRIDE; | 119 virtual bool DeleteAtEndPressed() OVERRIDE; |
118 virtual void GetSelectionBounds(string16::size_type* start, | 120 virtual void GetSelectionBounds(string16::size_type* start, |
119 string16::size_type* end) const OVERRIDE; | 121 string16::size_type* end) const OVERRIDE; |
120 virtual void SelectAll(bool reversed) OVERRIDE; | 122 virtual void SelectAll(bool reversed) OVERRIDE; |
121 virtual void RevertAll() OVERRIDE; | 123 virtual void RevertAll() OVERRIDE; |
122 virtual void UpdatePopup() OVERRIDE; | 124 virtual void UpdatePopup() OVERRIDE; |
123 virtual void ClosePopup() OVERRIDE; | 125 virtual void ClosePopup() OVERRIDE; |
124 virtual void SetFocus() OVERRIDE; | 126 virtual void SetFocus() OVERRIDE; |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 | 214 |
213 // True if the IME candidate window is open. When this is true, we want to | 215 // True if the IME candidate window is open. When this is true, we want to |
214 // avoid showing the popup. So far, the candidate window is detected only | 216 // avoid showing the popup. So far, the candidate window is detected only |
215 // on Chrome OS. | 217 // on Chrome OS. |
216 bool ime_candidate_window_open_; | 218 bool ime_candidate_window_open_; |
217 | 219 |
218 DISALLOW_COPY_AND_ASSIGN(OmniboxViewViews); | 220 DISALLOW_COPY_AND_ASSIGN(OmniboxViewViews); |
219 }; | 221 }; |
220 | 222 |
221 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ | 223 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ |
OLD | NEW |