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

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

Issue 232773008: More removal of GTK code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index b353ff26cc82a33f57aaff33a3aa1d81883e205c..7a40a0b929ee472eb789b57d9de6269799954271 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -1587,12 +1587,8 @@ void Browser::EnumerateDirectory(WebContents* web_contents,
}
bool Browser::EmbedsFullscreenWidget() const {
-#if defined(TOOLKIT_GTK)
- return false;
-#else
return !CommandLine::ForCurrentProcess()->
HasSwitch(switches::kDisableFullscreenWithinTab);
-#endif
}
void Browser::ToggleFullscreenModeForTab(WebContents* web_contents,

Powered by Google App Engine
This is Rietveld 408576698