| 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_OMNIBOX_OMNIBOX_POPUP_MODEL_H_ | 5 #ifndef CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_POPUP_MODEL_H_ |
| 6 #define CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_POPUP_MODEL_H_ | 6 #define CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_POPUP_MODEL_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/observer_list.h" | 9 #include "base/observer_list.h" |
| 10 #include "chrome/browser/autocomplete/autocomplete_controller.h" | 10 #include "chrome/browser/autocomplete/autocomplete_controller.h" |
| 11 #include "chrome/browser/autocomplete/autocomplete_result.h" | |
| 12 #include "chrome/browser/ui/omnibox/omnibox_edit_model.h" | 11 #include "chrome/browser/ui/omnibox/omnibox_edit_model.h" |
| 12 #include "components/omnibox/autocomplete_result.h" |
| 13 | 13 |
| 14 class OmniboxPopupModelObserver; | 14 class OmniboxPopupModelObserver; |
| 15 class OmniboxPopupView; | 15 class OmniboxPopupView; |
| 16 | 16 |
| 17 namespace gfx { | 17 namespace gfx { |
| 18 class Image; | 18 class Image; |
| 19 } | 19 } |
| 20 | 20 |
| 21 class OmniboxPopupModel { | 21 class OmniboxPopupModel { |
| 22 public: | 22 public: |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 // The match the user has manually chosen, if any. | 140 // The match the user has manually chosen, if any. |
| 141 AutocompleteResult::Selection manually_selected_match_; | 141 AutocompleteResult::Selection manually_selected_match_; |
| 142 | 142 |
| 143 // Observers. | 143 // Observers. |
| 144 ObserverList<OmniboxPopupModelObserver> observers_; | 144 ObserverList<OmniboxPopupModelObserver> observers_; |
| 145 | 145 |
| 146 DISALLOW_COPY_AND_ASSIGN(OmniboxPopupModel); | 146 DISALLOW_COPY_AND_ASSIGN(OmniboxPopupModel); |
| 147 }; | 147 }; |
| 148 | 148 |
| 149 #endif // CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_POPUP_MODEL_H_ | 149 #endif // CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_POPUP_MODEL_H_ |
| OLD | NEW |