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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 484963002: Fix a long standing painting problem seen in the tabstrip on Windows Desktop Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index 0c002fbd1ebe9dd88ff06df7367c6c0dec16edf8..92ff13a1a22d448310ee9c185fd39d6962248fef 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -1246,6 +1246,13 @@ void BrowserView::ConfirmBrowserCloseWithPendingDownloads(
}
void BrowserView::UserChangedTheme() {
+#if defined(OS_WIN)
+ // If the browser is in fullscreen, get it out to enable the user to see the
+ // theme change. This also fixes painting problems seen with switching to
+ // glass while in fullscreen mode.
+ if (IsFullscreen())
sky 2014/08/19 13:19:36 This makes no sense to me. The user wants to toggl
ananta 2014/08/20 02:28:06 Please take a look at the updated patch. This has
+ chrome::ToggleFullscreenMode(browser_.get());
+#endif
frame_->FrameTypeChanged();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698