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

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

Issue 2982453002: New AppListView Scroll Behavior. (Closed)
Patch Set: Removed unintended edit. Created 3 years, 5 months 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/app_list_view.cc ('k') | ui/app_list/views/search_box_view.cc » ('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"
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 // Fires query change notification. 114 // Fires query change notification.
115 void NotifyQueryChanged(); 115 void NotifyQueryChanged();
116 116
117 // Overridden from views::TextfieldController: 117 // Overridden from views::TextfieldController:
118 void ContentsChanged(views::Textfield* sender, 118 void ContentsChanged(views::Textfield* sender,
119 const base::string16& new_contents) override; 119 const base::string16& new_contents) override;
120 bool HandleKeyEvent(views::Textfield* sender, 120 bool HandleKeyEvent(views::Textfield* sender,
121 const ui::KeyEvent& key_event) override; 121 const ui::KeyEvent& key_event) override;
122 bool HandleMouseEvent(views::Textfield* sender, 122 bool HandleMouseEvent(views::Textfield* sender,
123 const ui::MouseEvent& mouse_event) override; 123 const ui::MouseEvent& mouse_event) override;
124
124 bool HandleGestureEvent(views::Textfield* sender, 125 bool HandleGestureEvent(views::Textfield* sender,
125 const ui::GestureEvent& gesture_event) override; 126 const ui::GestureEvent& gesture_event) override;
126 127
127 // Overridden from views::ButtonListener: 128 // Overridden from views::ButtonListener:
128 void ButtonPressed(views::Button* sender, const ui::Event& event) override; 129 void ButtonPressed(views::Button* sender, const ui::Event& event) override;
129 130
130 // Overridden from SearchBoxModelObserver: 131 // Overridden from SearchBoxModelObserver:
131 void SpeechRecognitionButtonPropChanged() override; 132 void SpeechRecognitionButtonPropChanged() override;
132 void HintTextChanged() override; 133 void HintTextChanged() override;
133 void SelectionModelChanged() override; 134 void SelectionModelChanged() override;
(...skipping 22 matching lines...) Expand all
156 const bool is_fullscreen_app_list_enabled_; 157 const bool is_fullscreen_app_list_enabled_;
157 // Whether the search box is active. 158 // Whether the search box is active.
158 bool is_search_box_active_ = false; 159 bool is_search_box_active_ = false;
159 160
160 DISALLOW_COPY_AND_ASSIGN(SearchBoxView); 161 DISALLOW_COPY_AND_ASSIGN(SearchBoxView);
161 }; 162 };
162 163
163 } // namespace app_list 164 } // namespace app_list
164 165
165 #endif // UI_APP_LIST_VIEWS_SEARCH_BOX_VIEW_H_ 166 #endif // UI_APP_LIST_VIEWS_SEARCH_BOX_VIEW_H_
OLDNEW
« no previous file with comments | « ui/app_list/views/app_list_view.cc ('k') | ui/app_list/views/search_box_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698