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

Unified Diff: chrome/browser/ui/views/location_bar/location_bar_view.h

Issue 1428423002: Remove setVoiceSearchSupported part of EmbeddedSearch SearchBox API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mac fix Created 5 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/location_bar/location_bar_view.h
diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.h b/chrome/browser/ui/views/location_bar/location_bar_view.h
index ebd575526bab74a1bcefd47a237391d429f1a1cc..0b17ae7c3c3810c8f6605e316edc2f844227c1fd 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.h
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.h
@@ -14,7 +14,6 @@
#include "chrome/browser/ssl/security_state_model.h"
#include "chrome/browser/ui/location_bar/location_bar.h"
#include "chrome/browser/ui/omnibox/chrome_omnibox_edit_controller.h"
-#include "chrome/browser/ui/search/search_model_observer.h"
#include "chrome/browser/ui/toolbar/chrome_toolbar_model.h"
#include "chrome/browser/ui/views/dropdown_bar_host.h"
#include "chrome/browser/ui/views/dropdown_bar_host_delegate.h"
@@ -26,7 +25,6 @@
#include "ui/gfx/animation/slide_animation.h"
#include "ui/gfx/font.h"
#include "ui/gfx/geometry/rect.h"
-#include "ui/views/controls/button/button.h"
#include "ui/views/drag_controller.h"
class ActionBoxButtonView;
@@ -56,8 +54,6 @@ class SaveCardIconView;
namespace views {
class BubbleDelegateView;
-class ImageButton;
-class ImageView;
class Label;
class Widget;
}
@@ -73,13 +69,11 @@ class Widget;
class LocationBarView : public LocationBar,
public LocationBarTesting,
public views::View,
- public views::ButtonListener,
public views::DragController,
public gfx::AnimationDelegate,
public ChromeOmniboxEditController,
public DropdownBarHostDelegate,
public TemplateURLServiceObserver,
- public SearchModelObserver,
public ui_zoom::ZoomEventManagerObserver {
public:
// The location bar view's class name.
@@ -373,9 +367,6 @@ class LocationBarView : public LocationBar,
void OnPaint(gfx::Canvas* canvas) override;
void PaintChildren(const ui::PaintContext& context) override;
- // views::ButtonListener:
- void ButtonPressed(views::Button* sender, const ui::Event& event) override;
-
// views::DragController:
void WriteDragDataForView(View* sender,
const gfx::Point& press_pt,
@@ -401,10 +392,6 @@ class LocationBarView : public LocationBar,
// TemplateURLServiceObserver:
void OnTemplateURLServiceChanged() override;
- // SearchModelObserver:
- void ModelChanged(const SearchModel::State& old_state,
- const SearchModel::State& new_state) override;
-
// The Browser this LocationBarView is in. Note that at least
// chromeos::SimpleWebViewDialog uses a LocationBarView outside any browser
// window, so this may be NULL.
@@ -446,9 +433,6 @@ class LocationBarView : public LocationBar,
// Shown if the selected url has a corresponding keyword.
KeywordHintView* keyword_hint_view_;
- // The voice search icon.
- views::ImageButton* mic_search_view_;
-
// The content setting views.
ContentSettingViews content_setting_views_;
« no previous file with comments | « chrome/browser/ui/views/accelerator_table.cc ('k') | chrome/browser/ui/views/location_bar/location_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698