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

Unified Diff: extensions/browser/app_window/app_window.cc

Issue 1200503002: [Extensions] Kill off ExtensionMsg_AddMessageToConsole (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master Created 5 years, 6 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
« no previous file with comments | « extensions/browser/app_window/app_web_contents_helper.cc ('k') | extensions/browser/extension_function.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/app_window/app_window.cc
diff --git a/extensions/browser/app_window/app_window.cc b/extensions/browser/app_window/app_window.cc
index 77da594a4b06a99309a4374957fc6ef5a0be9570..4ebc38e14822a2be29bac2dbac9224ec880fc7e7 100644
--- a/extensions/browser/app_window/app_window.cc
+++ b/extensions/browser/app_window/app_window.cc
@@ -926,7 +926,7 @@ void AppWindow::ToggleFullscreenModeForTab(content::WebContents* source,
return;
if (!IsExtensionWithPermissionOrSuggestInConsole(
- APIPermission::kFullscreen, extension, source->GetRenderViewHost())) {
+ APIPermission::kFullscreen, extension, source->GetMainFrame())) {
return;
}
« no previous file with comments | « extensions/browser/app_window/app_web_contents_helper.cc ('k') | extensions/browser/extension_function.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698