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

Unified Diff: ui/app_list/views/speech_view.h

Issue 302653002: Introduce the MicButtonTargeter class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix compilation Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/app_list/test/app_list_test_view_delegate.cc ('k') | ui/app_list/views/speech_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/speech_view.h
diff --git a/ui/app_list/views/speech_view.h b/ui/app_list/views/speech_view.h
index 946307f10d3dba964a8c52aedad1898a3db34f89..53a2f7b98f8977726157347380740ac391d43e4e 100644
--- a/ui/app_list/views/speech_view.h
+++ b/ui/app_list/views/speech_view.h
@@ -5,6 +5,7 @@
#ifndef UI_APP_LIST_VIEWS_SPEECH_VIEW_H_
#define UI_APP_LIST_VIEWS_SPEECH_VIEW_H_
+#include "ui/app_list/app_list_export.h"
#include "ui/app_list/speech_ui_model_observer.h"
#include "ui/views/controls/button/button.h"
#include "ui/views/view.h"
@@ -22,9 +23,9 @@ class AppListViewDelegate;
class SpeechCardView;
// SpeechView provides the card-like UI for the search-by-speech.
-class SpeechView : public views::View,
- public views::ButtonListener,
- public SpeechUIModelObserver {
+class APP_LIST_EXPORT SpeechView : public views::View,
+ public views::ButtonListener,
+ public SpeechUIModelObserver {
public:
explicit SpeechView(AppListViewDelegate* delegate);
virtual ~SpeechView();
@@ -36,6 +37,8 @@ class SpeechView : public views::View,
virtual void Layout() OVERRIDE;
virtual gfx::Size GetPreferredSize() const OVERRIDE;
+ views::ImageButton* mic_button() { return mic_button_; }
+
private:
int GetIndicatorRadius(uint8 level);
« no previous file with comments | « ui/app_list/test/app_list_test_view_delegate.cc ('k') | ui/app_list/views/speech_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698