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

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

Issue 9673001: Notify RenderWidgets when "tab fullscreen" state changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/browser.h" 5 #include "chrome/browser/ui/browser.h"
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <windows.h> 8 #include <windows.h>
9 #include <shellapi.h> 9 #include <shellapi.h>
10 #endif // OS_WIN 10 #endif // OS_WIN
(...skipping 4132 matching lines...) Expand 10 before | Expand all | Expand 10 after
4143 const FilePath& path) { 4143 const FilePath& path) {
4144 EnumerateDirectoryHelper(tab, request_id, path); 4144 EnumerateDirectoryHelper(tab, request_id, path);
4145 } 4145 }
4146 4146
4147 void Browser::ToggleFullscreenModeForTab(WebContents* tab, 4147 void Browser::ToggleFullscreenModeForTab(WebContents* tab,
4148 bool enter_fullscreen) { 4148 bool enter_fullscreen) {
4149 fullscreen_controller_->ToggleFullscreenModeForTab(tab, enter_fullscreen); 4149 fullscreen_controller_->ToggleFullscreenModeForTab(tab, enter_fullscreen);
4150 } 4150 }
4151 4151
4152 bool Browser::IsFullscreenForTab(const WebContents* tab) const { 4152 bool Browser::IsFullscreenForTab(const WebContents* tab) const {
4153 return fullscreen_controller_->IsFullscreenForTab(tab); 4153 return fullscreen_controller_->IsFullscreenForTabOrPending(tab);
4154 } 4154 }
4155 4155
4156 void Browser::JSOutOfMemory(WebContents* tab) { 4156 void Browser::JSOutOfMemory(WebContents* tab) {
4157 JSOutOfMemoryHelper(tab); 4157 JSOutOfMemoryHelper(tab);
4158 } 4158 }
4159 4159
4160 void Browser::RegisterProtocolHandler(WebContents* tab, 4160 void Browser::RegisterProtocolHandler(WebContents* tab,
4161 const std::string& protocol, 4161 const std::string& protocol,
4162 const GURL& url, 4162 const GURL& url,
4163 const string16& title) { 4163 const string16& title) {
(...skipping 1456 matching lines...) Expand 10 before | Expand all | Expand 10 after
5620 } else { 5620 } else {
5621 LoginUIServiceFactory::GetForProfile( 5621 LoginUIServiceFactory::GetForProfile(
5622 profile()->GetOriginalProfile())->ShowLoginUI(); 5622 profile()->GetOriginalProfile())->ShowLoginUI();
5623 } 5623 }
5624 #endif 5624 #endif
5625 } 5625 }
5626 5626
5627 void Browser::ToggleSpeechInput() { 5627 void Browser::ToggleSpeechInput() {
5628 GetSelectedWebContents()->GetRenderViewHost()->ToggleSpeechInput(); 5628 GetSelectedWebContents()->GetRenderViewHost()->ToggleSpeechInput();
5629 } 5629 }
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698