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

Side by Side Diff: ui/app_list/views/speech_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/search_result_view.h ('k') | ui/app_list/views/start_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_SPEECH_VIEW_H_ 5 #ifndef UI_APP_LIST_VIEWS_SPEECH_VIEW_H_
6 #define UI_APP_LIST_VIEWS_SPEECH_VIEW_H_ 6 #define UI_APP_LIST_VIEWS_SPEECH_VIEW_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "ui/app_list/app_list_export.h" 11 #include "ui/app_list/app_list_export.h"
12 #include "ui/app_list/speech_ui_model_observer.h" 12 #include "ui/app_list/speech_ui_model_observer.h"
13 #include "ui/views/controls/button/button.h" 13 #include "ui/views/controls/button/button.h"
14 #include "ui/views/view.h" 14 #include "ui/views/view.h"
15 15
16 namespace views { 16 namespace views {
17 class BoundsAnimator; 17 class BoundsAnimator;
18 class ImageButton; 18 class ImageButton;
19 class ImageView; 19 class ImageView;
20 class Label; 20 class Label;
21 } 21 }
22 22
23 namespace app_list { 23 namespace app_list {
24 24
25 class AppListViewDelegate; 25 class AppListViewDelegate;
26 class SpeechCardView;
27 26
28 // SpeechView provides the card-like UI for the search-by-speech. 27 // SpeechView provides the card-like UI for the search-by-speech.
29 class APP_LIST_EXPORT SpeechView : public views::View, 28 class APP_LIST_EXPORT SpeechView : public views::View,
30 public views::ButtonListener, 29 public views::ButtonListener,
31 public SpeechUIModelObserver { 30 public SpeechUIModelObserver {
32 public: 31 public:
33 explicit SpeechView(AppListViewDelegate* delegate); 32 explicit SpeechView(AppListViewDelegate* delegate);
34 ~SpeechView() override; 33 ~SpeechView() override;
35 34
36 // Reset to the original state. 35 // Reset to the original state.
(...skipping 24 matching lines...) Expand all
61 views::ImageButton* mic_button_; 60 views::ImageButton* mic_button_;
62 views::Label* speech_result_; 61 views::Label* speech_result_;
63 std::unique_ptr<views::BoundsAnimator> indicator_animator_; 62 std::unique_ptr<views::BoundsAnimator> indicator_animator_;
64 63
65 DISALLOW_COPY_AND_ASSIGN(SpeechView); 64 DISALLOW_COPY_AND_ASSIGN(SpeechView);
66 }; 65 };
67 66
68 } // namespace app_list 67 } // namespace app_list
69 68
70 #endif // UI_APP_LIST_VIEWS_SPEECH_VIEW_H_ 69 #endif // UI_APP_LIST_VIEWS_SPEECH_VIEW_H_
OLDNEW
« no previous file with comments | « ui/app_list/views/search_result_view.h ('k') | ui/app_list/views/start_page_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698