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

Unified Diff: chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_window.mm

Issue 11077006: Correct padding and focus ring for frameless constrained window dialog (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix license header Created 8 years, 2 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/cocoa/constrained_window/constrained_window_custom_window.mm
diff --git a/chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_window.mm b/chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_window.mm
index 29b9b3b64601f1fc64830e20e57673ee9c44a465..d056e6053d6d0b48505a627a18ddc6990a376693 100644
--- a/chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_window.mm
+++ b/chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_window.mm
@@ -6,6 +6,7 @@
#import "base/memory/scoped_nsobject.h"
#import "chrome/browser/ui/constrained_window.h"
+#import "chrome/browser/ui/constrained_window_constants.h"
#include "skia/ext/skia_utils_mac.h"
// The content view for the custom window.
@@ -41,8 +42,8 @@
- (void)drawRect:(NSRect)rect {
NSBezierPath* path = [NSBezierPath
bezierPathWithRoundedRect:[self bounds]
- xRadius:ConstrainedWindow::kBorderRadius
- yRadius:ConstrainedWindow::kBorderRadius];
+ xRadius:ConstrainedWindowConstants::kBorderRadius
+ yRadius:ConstrainedWindowConstants::kBorderRadius];
[gfx::SkColorToCalibratedNSColor(
ConstrainedWindow::GetBackgroundColor()) set];
[path fill];

Powered by Google App Engine
This is Rietveld 408576698