| 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 UI_APP_LIST_SEARCH_BOX_MODEL_H_ | 5 #ifndef UI_APP_LIST_SEARCH_BOX_MODEL_H_ |
| 6 #define UI_APP_LIST_SEARCH_BOX_MODEL_H_ | 6 #define UI_APP_LIST_SEARCH_BOX_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 "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 void RemoveObserver(SearchBoxModelObserver* observer); | 80 void RemoveObserver(SearchBoxModelObserver* observer); |
| 81 | 81 |
| 82 private: | 82 private: |
| 83 gfx::ImageSkia icon_; | 83 gfx::ImageSkia icon_; |
| 84 scoped_ptr<SpeechButtonProperty> speech_button_; | 84 scoped_ptr<SpeechButtonProperty> speech_button_; |
| 85 base::string16 hint_text_; | 85 base::string16 hint_text_; |
| 86 base::string16 accessible_name_; | 86 base::string16 accessible_name_; |
| 87 gfx::SelectionModel selection_model_; | 87 gfx::SelectionModel selection_model_; |
| 88 base::string16 text_; | 88 base::string16 text_; |
| 89 | 89 |
| 90 ObserverList<SearchBoxModelObserver> observers_; | 90 base::ObserverList<SearchBoxModelObserver> observers_; |
| 91 | 91 |
| 92 DISALLOW_COPY_AND_ASSIGN(SearchBoxModel); | 92 DISALLOW_COPY_AND_ASSIGN(SearchBoxModel); |
| 93 }; | 93 }; |
| 94 | 94 |
| 95 } // namespace app_list | 95 } // namespace app_list |
| 96 | 96 |
| 97 #endif // UI_APP_LIST_SEARCH_BOX_MODEL_H_ | 97 #endif // UI_APP_LIST_SEARCH_BOX_MODEL_H_ |
| OLD | NEW |