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

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

Issue 1545023002: Relanding fix from ea9b0ba419a3598bdb7f7c62afdf4409afa73ab1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « chrome/browser/ui/views/find_bar_host.cc ('k') | chrome/browser/ui/views/location_bar/location_bar_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 636818b619dd1ecf7fcdc2fc98d813b038b1b4e7..68cf65b658092ab6f8003274a12d6bb5ffff8948 100644
--- a/chrome/browser/ui/views/location_bar/location_bar_view.h
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.h
@@ -78,9 +78,6 @@ class LocationBarView : public LocationBar,
// The location bar view's class name.
static const char kViewClassName[];
- // Returns the offset used during dropdown animation.
- int dropdown_animation_offset() const { return dropdown_animation_offset_; }
-
class Delegate {
public:
// Should return the current web contents.
@@ -388,7 +385,6 @@ class LocationBarView : public LocationBar,
// DropdownBarHostDelegate:
void SetFocusAndSelection(bool select_all) override;
- void SetAnimationOffset(int offset) override;
// TemplateURLServiceObserver:
void OnTemplateURLServiceChanged() override;
@@ -474,12 +470,6 @@ class LocationBarView : public LocationBar,
// Tracks this preference to determine whether bookmark editing is allowed.
BooleanPrefMember edit_bookmarks_enabled_;
- // During dropdown animation, the host clips the widget and draws only the
- // bottom part of it. The view needs to know the pixel offset at which we are
- // drawing the widget so that we can draw the curved edges that attach to the
- // toolbar in the right location.
- int dropdown_animation_offset_;
-
// This is a debug state variable that stores if the WebContents was null
// during the last RefreshPageAction.
bool web_contents_null_at_last_refresh_;
« no previous file with comments | « chrome/browser/ui/views/find_bar_host.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