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

Side by Side Diff: chrome/browser/ui/tab_contents/tab_contents_wrapper.cc

Issue 7461059: Fullscreen JS API implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 823 matching lines...) Expand 10 before | Expand all | Expand 10 after
834 if (infobars_.empty()) { 834 if (infobars_.empty()) {
835 registrar_.Remove(this, content::NOTIFICATION_NAV_ENTRY_COMMITTED, 835 registrar_.Remove(this, content::NOTIFICATION_NAV_ENTRY_COMMITTED,
836 Source<NavigationController>(&tab_contents_->controller())); 836 Source<NavigationController>(&tab_contents_->controller()));
837 } 837 }
838 } 838 }
839 839
840 void TabContentsWrapper::RemoveAllInfoBars(bool animate) { 840 void TabContentsWrapper::RemoveAllInfoBars(bool animate) {
841 while (!infobars_.empty()) 841 while (!infobars_.empty())
842 RemoveInfoBarInternal(GetInfoBarDelegateAt(infobar_count() - 1), animate); 842 RemoveInfoBarInternal(GetInfoBarDelegateAt(infobar_count() - 1), animate);
843 } 843 }
844
845 void TabContentsWrapper::ExitFullscreenMode() {
846 Send(new ViewMsg_ExitFullscreen(routing_id()));
847 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/tab_contents/tab_contents_wrapper.h ('k') | chrome/common/chrome_notification_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698