Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(385)

Side by Side Diff: ui/app_list/views/search_box_view.h

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/app_list/views/folder_header_view.h ('k') | ui/app_list/views/search_result_page_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_VIEWS_SEARCH_BOX_VIEW_H_ 5 #ifndef UI_APP_LIST_VIEWS_SEARCH_BOX_VIEW_H_
6 #define UI_APP_LIST_VIEWS_SEARCH_BOX_VIEW_H_ 6 #define UI_APP_LIST_VIEWS_SEARCH_BOX_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "ui/app_list/search_box_model_observer.h" 11 #include "ui/app_list/search_box_model_observer.h"
12 #include "ui/app_list/speech_ui_model_observer.h" 12 #include "ui/app_list/speech_ui_model_observer.h"
13 #include "ui/gfx/shadow_value.h" 13 #include "ui/gfx/shadow_value.h"
14 #include "ui/views/controls/button/image_button.h" 14 #include "ui/views/controls/button/image_button.h"
15 #include "ui/views/controls/textfield/textfield_controller.h" 15 #include "ui/views/controls/textfield/textfield_controller.h"
16 #include "ui/views/view.h" 16 #include "ui/views/view.h"
17 17
18 namespace views { 18 namespace views {
19 class ImageView;
20 class Textfield; 19 class Textfield;
21 } // namespace views 20 } // namespace views
22 21
23 namespace app_list { 22 namespace app_list {
24 23
25 // Possible locations for partial keyboard focus (but note that the search 24 // Possible locations for partial keyboard focus (but note that the search
26 // box always handles typing). 25 // box always handles typing).
27 enum SearchBoxFocus { 26 enum SearchBoxFocus {
28 FOCUS_BACK_BUTTON, // Back button, only responds to ENTER 27 FOCUS_BACK_BUTTON, // Back button, only responds to ENTER
29 FOCUS_SEARCH_BOX, // Nothing else has partial focus 28 FOCUS_SEARCH_BOX, // Nothing else has partial focus
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 views::View* contents_view_; // Owned by views hierarchy. 120 views::View* contents_view_; // Owned by views hierarchy.
122 121
123 SearchBoxFocus focused_view_; // Which element has TAB'd focus. 122 SearchBoxFocus focused_view_; // Which element has TAB'd focus.
124 123
125 DISALLOW_COPY_AND_ASSIGN(SearchBoxView); 124 DISALLOW_COPY_AND_ASSIGN(SearchBoxView);
126 }; 125 };
127 126
128 } // namespace app_list 127 } // namespace app_list
129 128
130 #endif // UI_APP_LIST_VIEWS_SEARCH_BOX_VIEW_H_ 129 #endif // UI_APP_LIST_VIEWS_SEARCH_BOX_VIEW_H_
OLDNEW
« no previous file with comments | « ui/app_list/views/folder_header_view.h ('k') | ui/app_list/views/search_result_page_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698