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, | 114 size_t caret_pos) OVERRIDE; |
115 bool update_popup, | |
116 bool notify_text_changed) OVERRIDE; | |
117 virtual void SetForcedQuery() OVERRIDE; | 115 virtual void SetForcedQuery() OVERRIDE; |
118 virtual bool IsSelectAll() OVERRIDE; | 116 virtual bool IsSelectAll() OVERRIDE; |
119 virtual bool DeleteAtEndPressed() OVERRIDE; | 117 virtual bool DeleteAtEndPressed() OVERRIDE; |
120 virtual void GetSelectionBounds(string16::size_type* start, | 118 virtual void GetSelectionBounds(string16::size_type* start, |
121 string16::size_type* end) const OVERRIDE; | 119 string16::size_type* end) const OVERRIDE; |
122 virtual void SelectAll(bool reversed) OVERRIDE; | 120 virtual void SelectAll(bool reversed) OVERRIDE; |
123 virtual void RevertAll() OVERRIDE; | 121 virtual void RevertAll() OVERRIDE; |
124 virtual void UpdatePopup() OVERRIDE; | 122 virtual void UpdatePopup() OVERRIDE; |
125 virtual void ClosePopup() OVERRIDE; | 123 virtual void ClosePopup() OVERRIDE; |
126 virtual void SetFocus() OVERRIDE; | 124 virtual void SetFocus() OVERRIDE; |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 | 212 |
215 // True if the IME candidate window is open. When this is true, we want to | 213 // True if the IME candidate window is open. When this is true, we want to |
216 // avoid showing the popup. So far, the candidate window is detected only | 214 // avoid showing the popup. So far, the candidate window is detected only |
217 // on Chrome OS. | 215 // on Chrome OS. |
218 bool ime_candidate_window_open_; | 216 bool ime_candidate_window_open_; |
219 | 217 |
220 DISALLOW_COPY_AND_ASSIGN(OmniboxViewViews); | 218 DISALLOW_COPY_AND_ASSIGN(OmniboxViewViews); |
221 }; | 219 }; |
222 | 220 |
223 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ | 221 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ |
OLD | NEW |