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

Unified Diff: chrome/browser/ui/cocoa/location_bar/search_button_decoration.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/cocoa/location_bar/search_button_decoration.h
diff --git a/chrome/browser/ui/cocoa/location_bar/search_button_decoration.h b/chrome/browser/ui/cocoa/location_bar/search_button_decoration.h
deleted file mode 100644
index c6dc1f3c864e8043e19c63fe6497c6510bd0b381..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/cocoa/location_bar/search_button_decoration.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright 2013 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_COCOA_LOCATION_BAR_SEARCH_BUTTON_DECORATION_H_
-#define CHROME_BROWSER_UI_COCOA_LOCATION_BAR_SEARCH_BUTTON_DECORATION_H_
-
-#import <Cocoa/Cocoa.h>
-
-#include "chrome/browser/ui/cocoa/location_bar/button_decoration.h"
-
-class LocationBarViewMac;
-
-// |SearchButtonDecoration| adds a search/go button to the right of the omnibox.
-
-class SearchButtonDecoration : public ButtonDecoration {
- public:
- explicit SearchButtonDecoration(LocationBarViewMac* owner);
- ~SearchButtonDecoration() override;
-
- // Implement |LocationBarDecoration|.
- CGFloat GetWidthForSpace(CGFloat width) override;
- void DrawInFrame(NSRect frame, NSView* control_view) override;
- bool OnMousePressed(NSRect frame, NSPoint location) override;
-
- private:
- // The control view that owns this. Weak.
- LocationBarViewMac* owner_;
-
- DISALLOW_COPY_AND_ASSIGN(SearchButtonDecoration);
-};
-
-#endif // CHROME_BROWSER_UI_COCOA_LOCATION_BAR_SEARCH_BUTTON_DECORATION_H_

Powered by Google App Engine
This is Rietveld 408576698