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

Unified Diff: chrome/browser/views/location_bar/location_bar_view.cc

Issue 3056003: Attemp 2 at: (Closed)
Patch Set: Fix chromeos breakage Created 10 years, 5 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/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++) {
« no previous file with comments | « chrome/browser/views/location_bar/location_bar_view.h ('k') | chrome/browser/views/tabs/browser_tab_strip_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698