| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" | 5 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" |
| 6 | 6 |
| 7 #include "base/utf_string_conversions.h" | 7 #include "base/utf_string_conversions.h" |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/lazy_instance.h" | 10 #include "base/lazy_instance.h" |
| (...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 756 if (infobars_.empty()) { | 756 if (infobars_.empty()) { |
| 757 registrar_.Remove(this, content::NOTIFICATION_NAV_ENTRY_COMMITTED, | 757 registrar_.Remove(this, content::NOTIFICATION_NAV_ENTRY_COMMITTED, |
| 758 Source<NavigationController>(&tab_contents_->controller())); | 758 Source<NavigationController>(&tab_contents_->controller())); |
| 759 } | 759 } |
| 760 } | 760 } |
| 761 | 761 |
| 762 void TabContentsWrapper::RemoveAllInfoBars(bool animate) { | 762 void TabContentsWrapper::RemoveAllInfoBars(bool animate) { |
| 763 while (!infobars_.empty()) | 763 while (!infobars_.empty()) |
| 764 RemoveInfoBarInternal(GetInfoBarDelegateAt(infobar_count() - 1), animate); | 764 RemoveInfoBarInternal(GetInfoBarDelegateAt(infobar_count() - 1), animate); |
| 765 } | 765 } |
| 766 |
| 767 void TabContentsWrapper::ExitFullscreenMode() { |
| 768 Send(new ViewMsg_ExitFullscreen(routing_id())); |
| 769 } |
| OLD | NEW |