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

Unified Diff: chrome/browser/ui/cocoa/intents/web_intent_progress_view_controller.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/intents/web_intent_progress_view_controller.mm
diff --git a/chrome/browser/ui/cocoa/intents/web_intent_progress_view_controller.mm b/chrome/browser/ui/cocoa/intents/web_intent_progress_view_controller.mm
index 73bc2cfa4d30fd3664cf6d211ee5ac8fa46e9eb0..bb08046a81b25b6409c6e55985192f0ed528db8f 100644
--- a/chrome/browser/ui/cocoa/intents/web_intent_progress_view_controller.mm
+++ b/chrome/browser/ui/cocoa/intents/web_intent_progress_view_controller.mm
@@ -9,6 +9,7 @@
#import "chrome/browser/ui/cocoa/flipped_view.h"
#import "chrome/browser/ui/cocoa/spinner_progress_indicator.h"
#import "chrome/browser/ui/constrained_window.h"
+#import "chrome/browser/ui/constrained_window_constants.h"
#include "grit/theme_resources.h"
#include "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h"
#include "ui/base/resource/resource_bundle.h"
@@ -115,12 +116,12 @@ NSAttributedString* JoinString(NSAttributedString* string1,
- (void)updateTextFieldAndResizeToWidth:(CGFloat)width {
NSAttributedString* title = constrained_window::GetAttributedLabelString(
title_,
- ConstrainedWindow::kBoldTextFontStyle,
+ ConstrainedWindowConstants::kBoldTextFontStyle,
NSCenterTextAlignment,
NSLineBreakByWordWrapping);
NSAttributedString* message = constrained_window::GetAttributedLabelString(
message_,
- ConstrainedWindow::kTextFontStyle,
+ ConstrainedWindowConstants::kTextFontStyle,
NSCenterTextAlignment,
NSLineBreakByWordWrapping);
[messageTextField_ setAttributedStringValue:JoinString(title, message)];

Powered by Google App Engine
This is Rietveld 408576698