| Index: chrome/browser/views/location_bar/location_bar_view.cc
|
| diff --git a/chrome/browser/views/location_bar/location_bar_view.cc b/chrome/browser/views/location_bar/location_bar_view.cc
|
| index 4dffa4e2938fc3aeb9164f7178913527fdaddf45..4072c582e8541972ce791178f735cc76e5792424 100644
|
| --- a/chrome/browser/views/location_bar/location_bar_view.cc
|
| +++ b/chrome/browser/views/location_bar/location_bar_view.cc
|
| @@ -98,7 +98,6 @@ LocationBarView::LocationBarView(Profile* profile,
|
| keyword_hint_view_(NULL),
|
| star_view_(NULL),
|
| mode_(mode),
|
| - force_hidden_count_(0),
|
| show_focus_rect_(false),
|
| ALLOW_THIS_IN_INITIALIZER_LIST(first_run_bubble_(this)) {
|
| DCHECK(profile_);
|
| @@ -988,28 +987,6 @@ void LocationBarView::Revert() {
|
| location_entry_->RevertAll();
|
| }
|
|
|
| -void LocationBarView::PushForceHidden() {
|
| -#if defined(OS_WIN)
|
| - if (force_hidden_count_++ == 0) {
|
| - location_entry_->set_force_hidden(true);
|
| - ShowWindow(location_entry_->m_hWnd, SW_HIDE);
|
| - }
|
| -#endif
|
| -}
|
| -
|
| -void LocationBarView::PopForceHidden() {
|
| -#if defined(OS_WIN)
|
| - if (force_hidden_count_ == 0) {
|
| - NOTREACHED() << "Unmatched PopForceHidden() call!";
|
| - return;
|
| - }
|
| - if (--force_hidden_count_ == 0) {
|
| - location_entry_->set_force_hidden(false);
|
| - ShowWindow(location_entry_->m_hWnd, SW_SHOW);
|
| - }
|
| -#endif
|
| -}
|
| -
|
| int LocationBarView::PageActionVisibleCount() {
|
| int result = 0;
|
| for (size_t i = 0; i < page_action_views_.size(); i++) {
|
|
|