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/string16.h" | 10 #include "base/strings/string16.h" |
11 #include "ui/app_list/app_list_export.h" | 11 #include "ui/app_list/app_list_export.h" |
12 #include "ui/gfx/image/image_skia.h" | 12 #include "ui/gfx/image/image_skia.h" |
13 #include "ui/gfx/selection_model.h" | 13 #include "ui/gfx/selection_model.h" |
14 | 14 |
15 namespace app_list { | 15 namespace app_list { |
16 | 16 |
17 class SearchBoxModelObserver; | 17 class SearchBoxModelObserver; |
18 | 18 |
19 // SearchBoxModel consisits of an icon, a hint text, a user text and a selection | 19 // SearchBoxModel consisits of an icon, a hint text, a user text and a selection |
20 // model. The icon is rendered to the side of the query editor. The hint text | 20 // model. The icon is rendered to the side of the query editor. The hint text |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 string16 text_; | 54 string16 text_; |
55 | 55 |
56 ObserverList<SearchBoxModelObserver> observers_; | 56 ObserverList<SearchBoxModelObserver> observers_; |
57 | 57 |
58 DISALLOW_COPY_AND_ASSIGN(SearchBoxModel); | 58 DISALLOW_COPY_AND_ASSIGN(SearchBoxModel); |
59 }; | 59 }; |
60 | 60 |
61 } // namespace app_list | 61 } // namespace app_list |
62 | 62 |
63 #endif // UI_APP_LIST_SEARCH_BOX_MODEL_H_ | 63 #endif // UI_APP_LIST_SEARCH_BOX_MODEL_H_ |
OLD | NEW |