summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/location_bar_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/location_bar_view.cc')
-rw-r--r--chrome/browser/views/location_bar_view.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/chrome/browser/views/location_bar_view.cc b/chrome/browser/views/location_bar_view.cc
index 51081bd..bd9774c 100644
--- a/chrome/browser/views/location_bar_view.cc
+++ b/chrome/browser/views/location_bar_view.cc
@@ -213,11 +213,6 @@ gfx::Size LocationBarView::GetPreferredSize() {
security_image_view_.GetPreferredSize().width()));
}
-void LocationBarView::DidChangeBounds(const CRect& previous,
- const CRect& current) {
- Layout();
-}
-
void LocationBarView::Layout() {
DoLayout(true);
}
@@ -646,12 +641,6 @@ gfx::Size LocationBarView::SelectedKeywordView::GetMinimumSize() {
return partial_label_.GetMinimumSize();
}
-void LocationBarView::SelectedKeywordView::DidChangeBounds(
- const CRect& previous,
- const CRect& current) {
- Layout();
-}
-
void LocationBarView::SelectedKeywordView::Layout() {
gfx::Size pref = GetPreferredSize();
bool at_pref = (width() == pref.width());
@@ -804,11 +793,6 @@ void LocationBarView::KeywordHintView::Layout() {
}
}
-void LocationBarView::KeywordHintView::DidChangeBounds(const CRect& previous,
- const CRect& current) {
- Layout();
-}
-
// We don't translate accelerators for ALT + numpad digit, they are used for
// entering special characters.
bool LocationBarView::ShouldLookupAccelerators(const ChromeViews::KeyEvent& e) {