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

Side by Side Diff: chrome/browser/ui/views/location_bar/mic_search_view.h

Issue 21696003: views/location_bar: Eliminate TouchableLocationBarView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_MIC_SEARCH_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_MIC_SEARCH_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_MIC_SEARCH_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_MIC_SEARCH_VIEW_H_
7 7
8 #include "chrome/browser/ui/views/location_bar/touchable_location_bar_view.h"
9 #include "ui/views/controls/button/image_button.h" 8 #include "ui/views/controls/button/image_button.h"
10 9
11 class CommandUpdater; 10 class MicSearchView : public views::ImageButton {
12
13 class MicSearchView : public views::ImageButton,
14 public TouchableLocationBarView {
15 public: 11 public:
16 explicit MicSearchView(views::ButtonListener* button_listener); 12 explicit MicSearchView(views::ButtonListener* button_listener);
17 virtual ~MicSearchView(); 13 virtual ~MicSearchView();
18 14
19 // TouchableLocationBarView:
20 virtual int GetBuiltInHorizontalPadding() const OVERRIDE;
21
22 private: 15 private:
23 DISALLOW_COPY_AND_ASSIGN(MicSearchView); 16 DISALLOW_COPY_AND_ASSIGN(MicSearchView);
24 }; 17 };
25 18
26 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_MIC_SEARCH_VIEW_H_ 19 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_MIC_SEARCH_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698