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

Unified Diff: chrome/browser/ui/fullscreen_controller.cc

Issue 9428018: Create BaseWindow and ExtensionWindowWrapper for extension API access to Panels (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Address comments. Created 8 years, 10 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/ui/fullscreen_controller.cc
diff --git a/chrome/browser/ui/fullscreen_controller.cc b/chrome/browser/ui/fullscreen_controller.cc
index 04b67729fbb4778c2778a156676fb1faf271a418..e2072adacea6dd15a4806fdaefd2d7d5d920655a 100644
--- a/chrome/browser/ui/fullscreen_controller.cc
+++ b/chrome/browser/ui/fullscreen_controller.cc
@@ -157,10 +157,10 @@ void FullscreenController::ToggleFullscreenMode() {
}
void FullscreenController::ToggleFullscreenModeWithExtension(
- const Extension& extension) {
+ const GURL& extension_url) {
// |extension_caused_fullscreen_| will be reset if this causes fullscreen to
// exit.
- extension_caused_fullscreen_ = extension.url();
+ extension_caused_fullscreen_ = extension_url;
ToggleFullscreenModeInternal(false);
}

Powered by Google App Engine
This is Rietveld 408576698