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

Unified Diff: chrome/browser/ui/views/location_bar/zoom_view.cc

Issue 21696003: views/location_bar: Eliminate TouchableLocationBarView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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/zoom_view.cc
diff --git a/chrome/browser/ui/views/location_bar/zoom_view.cc b/chrome/browser/ui/views/location_bar/zoom_view.cc
index 2a1c39d679c9c5d6975b5aff5fcc37b62b75fa3a..53436bcaf1d2568df647b6631a9f1cdfcc6a8770 100644
--- a/chrome/browser/ui/views/location_bar/zoom_view.cc
+++ b/chrome/browser/ui/views/location_bar/zoom_view.cc
@@ -22,7 +22,7 @@ ZoomView::ZoomView(ToolbarModel* toolbar_model,
location_bar_delegate_(location_bar_delegate) {
set_accessibility_focusable(true);
Update(NULL);
- TouchableLocationBarView::Init(this);
+ LocationBarView::InitTouchableLocationBarView(this);
}
ZoomView::~ZoomView() {
@@ -80,10 +80,6 @@ void ZoomView::OnGestureEvent(ui::GestureEvent* event) {
}
}
-int ZoomView::GetBuiltInHorizontalPadding() const {
- return GetBuiltInHorizontalPaddingImpl();
-}
-
void ZoomView::ActivateBubble() {
ZoomBubbleView::ShowBubble(location_bar_delegate_->GetWebContents(), false);
}

Powered by Google App Engine
This is Rietveld 408576698