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

Unified Diff: ui/views/cocoa/bridged_native_widget.mm

Issue 1579813002: PoC: Using the toolkit-views fullscreen access bubble on Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refine Created 4 years, 11 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_nibs.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/cocoa/bridged_native_widget.mm
diff --git a/ui/views/cocoa/bridged_native_widget.mm b/ui/views/cocoa/bridged_native_widget.mm
index 24bba74dd91727e12fe250c3c02c4b1145875e10..6c35be015566c444180e662d8915267978a91f6c 100644
--- a/ui/views/cocoa/bridged_native_widget.mm
+++ b/ui/views/cocoa/bridged_native_widget.mm
@@ -428,8 +428,8 @@ void BridgedNativeWidget::SetBounds(const gfx::Rect& new_bounds) {
// A contentRect with zero width or height is a banned practice in ChromeMac,
// due to unpredictable OSX treatment.
- DCHECK(!clamped_content_size.IsEmpty())
- << "Zero-sized windows not supported on Mac";
+ // DCHECK(!clamped_content_size.IsEmpty())
+ // << "Zero-sized windows not supported on Mac";
if (!window_visible_ && native_widget_mac_->IsWindowModalSheet()) {
// Window-Modal dialogs (i.e. sheets) are positioned by Cocoa when shown for
« no previous file with comments | « chrome/chrome_nibs.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698