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

Unified Diff: ui/views/widget/native_widget_mac.mm

Issue 1019023002: MacViews: Implement non-client frame view (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@wrench-menu
Patch Set: Use Yosemite colors Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/native_widget_mac.mm
diff --git a/ui/views/widget/native_widget_mac.mm b/ui/views/widget/native_widget_mac.mm
index 20db395761ee684482da88635be05860871c89e4..c06aefdba21a85a699b699c5db710bdaa582df2c 100644
--- a/ui/views/widget/native_widget_mac.mm
+++ b/ui/views/widget/native_widget_mac.mm
@@ -129,9 +129,9 @@ bool NativeWidgetMac::ShouldUseNativeFrame() const {
}
bool NativeWidgetMac::ShouldWindowContentsBeTransparent() const {
- // On Windows, this returns false when DWM is unavailable (e.g. XP, RDP or
- // classic mode). OSX always has a compositing window manager.
- return true;
+ // On Windows, this returns true when Aero is enabled which draws the titlebar
+ // with translucency.
+ return false;
}
void NativeWidgetMac::FrameTypeChanged() {
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698