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

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

Issue 287543002: Remove origin chip v1 and "hide on input" v2 behavior. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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
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 ce4b97f9aa5f91a985f7457fe3984531d04afe1d..72e59a0b023a11093d9fbd2f23f475a63753132b 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.h
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.h
@@ -49,7 +49,6 @@ class Profile;
class SelectedKeywordView;
class StarView;
class TemplateURLService;
-class ToolbarOriginChipView;
class TranslateIconView;
class ZoomView;
@@ -194,11 +193,6 @@ class LocationBarView : public LocationBar,
// The translate icon. It may not be visible.
TranslateIconView* translate_icon_view() { return translate_icon_view_; }
- void set_toolbar_origin_chip_view(
- ToolbarOriginChipView* toolbar_origin_chip_view) {
- toolbar_origin_chip_view_ = toolbar_origin_chip_view;
- }
-
// Returns the screen coordinates of the omnibox (where the URL text appears,
// not where the icons are shown).
gfx::Point GetOmniboxViewOrigin() const;
@@ -223,11 +217,8 @@ class LocationBarView : public LocationBar,
// in the toolbar in full keyboard accessibility mode.
virtual void SelectAll();
- views::ImageView* GetLocationIconView();
- const views::ImageView* GetLocationIconView() const;
+ LocationIconView* location_icon_view() { return location_icon_view_; }
- // Return a view suitable for anchoring location-bar-anchored bubbles to.
- views::View* GetLocationBarAnchor();
// Return the point suitable for anchoring location-bar-anchored bubbles at.
// The point will be returned in the coordinates of the LocationBarView.
gfx::Point GetLocationBarAnchorPoint() const;
@@ -434,12 +425,9 @@ class LocationBarView : public LocationBar,
// Object used to paint the border.
scoped_ptr<views::Painter> border_painter_;
- // The version of the origin chip that appears in the location bar.
+ // The origin chip that may appear in the location bar.
OriginChipView* origin_chip_view_;
- // The version of the origin chip that appears in the toolbar.
- ToolbarOriginChipView* toolbar_origin_chip_view_;
-
// An icon to the left of the edit field.
LocationIconView* location_icon_view_;
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.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