OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_POPUP_MODEL_H_ | 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_MODEL_H_ |
6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_MODEL_H_ | 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_MODEL_H_ |
7 | 7 |
| 8 #include "base/scoped_ptr.h" |
8 #include "chrome/browser/autocomplete/autocomplete.h" | 9 #include "chrome/browser/autocomplete/autocomplete.h" |
9 #include "chrome/common/notification_registrar.h" | 10 #include "chrome/common/notification_registrar.h" |
10 | 11 |
11 class AutocompleteEditModel; | 12 class AutocompleteEditModel; |
12 class AutocompleteEditView; | 13 class AutocompleteEditView; |
13 class Profile; | 14 class Profile; |
14 | 15 |
15 class AutocompletePopupView; | 16 class AutocompletePopupView; |
16 | 17 |
17 class AutocompletePopupModel : public NotificationObserver { | 18 class AutocompletePopupModel : public NotificationObserver { |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 AutocompleteResult::Selection manually_selected_match_; | 166 AutocompleteResult::Selection manually_selected_match_; |
166 | 167 |
167 // A hack for URLsForDefaultMatch() that makes the code in Observe() do | 168 // A hack for URLsForDefaultMatch() that makes the code in Observe() do |
168 // nothing. | 169 // nothing. |
169 bool inside_synchronous_query_; | 170 bool inside_synchronous_query_; |
170 | 171 |
171 DISALLOW_COPY_AND_ASSIGN(AutocompletePopupModel); | 172 DISALLOW_COPY_AND_ASSIGN(AutocompletePopupModel); |
172 }; | 173 }; |
173 | 174 |
174 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_MODEL_H_ | 175 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_POPUP_MODEL_H_ |
OLD | NEW |