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

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

Issue 768413003: TEST ONLY - DO NOT SUBMIT - FOR TRYBOTS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad merge Created 5 years, 11 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
Index: chrome/browser/ui/views/location_bar/search_button.h
diff --git a/chrome/browser/ui/views/location_bar/search_button.h b/chrome/browser/ui/views/location_bar/search_button.h
deleted file mode 100644
index 807116684a2586d133f4cdb297ec1325ef367307..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/location_bar/search_button.h
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_SEARCH_BUTTON_H_
-#define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_SEARCH_BUTTON_H_
-
-#include "ui/views/controls/button/label_button.h"
-
-// A blue button shown at the end of the omnibox that holds either a search or
-// navigation icon based on the current omnibox text. This is something like a
-// cross between a historical browser "Go" button and the Google "search"
-// button.
-class SearchButton : public views::LabelButton {
- public:
- explicit SearchButton(views::ButtonListener* listener);
- ~SearchButton() override;
-
- // Updates the search button icon to a search icon if |is_search| is true, or
- // a navigation icon otherwise.
- void UpdateIcon(bool is_search);
-
- private:
- DISALLOW_COPY_AND_ASSIGN(SearchButton);
-};
-
-#endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_SEARCH_BUTTON_H_
« no previous file with comments | « chrome/browser/ui/views/location_bar/origin_chip_view.cc ('k') | chrome/browser/ui/views/location_bar/search_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698