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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 size_t selected_line, | 106 size_t selected_line, |
107 const string16& keyword) OVERRIDE; | 107 const string16& keyword) OVERRIDE; |
108 virtual string16 GetText() const OVERRIDE; | 108 virtual string16 GetText() const OVERRIDE; |
109 virtual bool IsEditingOrEmpty() const OVERRIDE; | 109 virtual bool IsEditingOrEmpty() const OVERRIDE; |
110 virtual int GetIcon() const OVERRIDE; | 110 virtual int GetIcon() const OVERRIDE; |
111 virtual void SetUserText(const string16& text) OVERRIDE; | 111 virtual void SetUserText(const string16& text) OVERRIDE; |
112 virtual void SetUserText(const string16& text, | 112 virtual void SetUserText(const string16& text, |
113 const string16& display_text, | 113 const string16& display_text, |
114 bool update_popup) OVERRIDE; | 114 bool update_popup) OVERRIDE; |
115 virtual void SetWindowTextAndCaretPos(const string16& text, | 115 virtual void SetWindowTextAndCaretPos(const string16& text, |
116 size_t caret_pos) OVERRIDE; | 116 size_t caret_pos, |
| 117 bool update_popup, |
| 118 bool notify_text_changed) OVERRIDE; |
117 virtual void SetForcedQuery() OVERRIDE; | 119 virtual void SetForcedQuery() OVERRIDE; |
118 virtual bool IsSelectAll() OVERRIDE; | 120 virtual bool IsSelectAll() OVERRIDE; |
119 virtual bool DeleteAtEndPressed() OVERRIDE; | 121 virtual bool DeleteAtEndPressed() OVERRIDE; |
120 virtual void GetSelectionBounds(string16::size_type* start, | 122 virtual void GetSelectionBounds(string16::size_type* start, |
121 string16::size_type* end) const OVERRIDE; | 123 string16::size_type* end) const OVERRIDE; |
122 virtual void SelectAll(bool reversed) OVERRIDE; | 124 virtual void SelectAll(bool reversed) OVERRIDE; |
123 virtual void RevertAll() OVERRIDE; | 125 virtual void RevertAll() OVERRIDE; |
124 virtual void UpdatePopup() OVERRIDE; | 126 virtual void UpdatePopup() OVERRIDE; |
125 virtual void ClosePopup() OVERRIDE; | 127 virtual void ClosePopup() OVERRIDE; |
126 virtual void SetFocus() OVERRIDE; | 128 virtual void SetFocus() OVERRIDE; |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 | 221 |
220 // True if the IME candidate window is open. When this is true, we want to | 222 // True if the IME candidate window is open. When this is true, we want to |
221 // avoid showing the popup. So far, the candidate window is detected only | 223 // avoid showing the popup. So far, the candidate window is detected only |
222 // on Chrome OS. | 224 // on Chrome OS. |
223 bool ime_candidate_window_open_; | 225 bool ime_candidate_window_open_; |
224 | 226 |
225 DISALLOW_COPY_AND_ASSIGN(OmniboxViewViews); | 227 DISALLOW_COPY_AND_ASSIGN(OmniboxViewViews); |
226 }; | 228 }; |
227 | 229 |
228 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ | 230 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ |
OLD | NEW |